Turn on an FBX animation through trigger volume

Hi there,

I am new here and have no coding experience. What I’m trying to do is real simple, I’m working on a side scroller and when the main character hits the collision volume of a certain object I want to play the animation of this object and if the player goes back I want to create another trigger volume to reset that animation.

this is the project with one placeholder object/animation, the final version will have several of these triggered animations


any help will be greatly appreciated


Hi, check the collision.js in my project https://playcanvas.com/editor/project/352037 and modify it to make what you need

is it collider.js? I’m afraid it’s way too complicated for me, I really don’t know where to start

thanks though

Tutorials and User Manual is good place to start getting familiar with basic functionality.