Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Point-light going through walls fix?
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#11
RE: Point-light going through walls fix?

I vaguely remember something about a look callback that doesn't need the LookAt function. Perhaps it's on the entity tab/area tab of your object...

Ah, yes here it is:
PHP Code: (Select All)
SetEntityPlayerLookAtCallback(stringasNamestringasCallbackbool abRemoveWhenLookedAt); 

But to answer your question, no, it wouldn't force them because it stops immediately. Additionally it used 0.0f in speed, so no effect should've been noticed. Regardless, you might as well use the line that was intended for this.

The callback syntax is void MyFunc(string &in asEntity, int alState)

(This post was last modified: 09-23-2015, 08:03 AM by Mudbill.)
09-23-2015, 08:03 AM
Find




Users browsing this thread: 1 Guest(s)