You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some particular logic that I need to run whenever the platform changes direction that should happen immediately after the velocity is changed. Hooking into an event would be a very nice way to solve this.
Proposal
Action component the following events containing the relevant action:
actionstart
actioncomplete
These can be either on the actor or the actions component, or both? This would also fire for each action in repeatForever etc.
It would be useful the ActionsComponent emitted events when starting/completing actions
Context
I have a moving platform that has its path defined by actions
I have some particular logic that I need to run whenever the platform changes direction that should happen immediately after the velocity is changed. Hooking into an event would be a very nice way to solve this.
Proposal
Action component the following events containing the relevant action:
actionstart
actioncomplete
These can be either on the actor or the actions component, or both? This would also fire for each action in
repeatForever
etc.The text was updated successfully, but these errors were encountered: