You are viewing a single comment's thread from:

RE: Investigating line of sight - Problem solved by just using brainpower

in #unity9 years ago

Yes, that is it. Do that, however; just remember FixedUpdate is not every frame, so frame dependent should be Update. Should not make a difference being a psychics raycast. Imho should not exactly be frame dependent for a simple line of sight either....so FixedUpdate should do fine. Sorry if it seems confusing.

Sort:  

No problem, I get it, I get that it 'shouldn't' be as you say but from the way I've seen it working it clearly is not calculating every frame, so it's a good idea just to put it in to be safe and prevent any bugs.

Coin Marketplace

STEEM 0.13
TRX 0.35
JST 0.034
BTC 114938.06
ETH 4519.45
SBD 0.88