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
Collide Callback multiple times problem
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#6
RE: Collide Callback multiple times problem

The collision callbacks you declare in OnStart shouldn't be removed if you leave the map before triggering them. If you find otherwise, try using a local variable to track whether the collision has happened, and in OnEnter, only add the callback if it hasn't been triggered earlier.

12-26-2011, 11:24 PM
Find


Messages In This Thread
RE: Collide Callback multiple times problem - by palistov - 12-26-2011, 11:24 PM



Users browsing this thread: 2 Guest(s)