Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: loverains on October 30, 2012, 06:24:19 AM
-
part of event like network or controllerhit are raised on system call,part of event like mouse trigger or collision are raised by the proxy behaviour,why design like this?
-
Hi,
Can you rephrase, I am not sure I am getting what you mean.
collision and triggers are available as global events, but sometimes an action is better because you can have more control.
bye,
Jean
-
for example
hold a FSM component list in proxybase and foreach to call the OnTriggerEnter is the same as write the OnTriggerEnter function in FSM component class
-
Hi,
ok,
-- what do you mean by "proxybase"
-- why would you want to call OnTriggerEnter since it's the physics engine that should do that?
-- what do you mean by FSM component class. Do you mean Fsm action classes?
are you looking at TriggerEvent class? and wondering the difference between the system events "TRIGGER ENTER" and the method DoTriggerEnter you find in the TriggerEvent class?
we'll get there :)
bye,
Jean