iERROR:SCRIPT: /main/player/player.script:9: Field other_id not specified in table
stack traceback:
[C]: in function 'post'
/main/player/player.script:9: in function </main/player/player.script:6>
The messages trigger_response and collision_response are sent from the engine. The user shouldn’t try to send these. What happens if you remove these?
Hi Alvar! What’s the purpose of these two messages? Both are Defold engine generated message. You cannot send these yourself.
The code looks good, but my guess is that your doing this perhaps every frame, which cause the animation to start over on the first frame every frame. You solve this by keeping track of the currently played animation, and if you try to play the same animation again you simply ignore it. Check this example: