How to get a moveable object to trigger an animation when it comes into contact with the puppet?
So in my game I have large stones that need to be moved around in order to solve puzzles. I have them set to moveable and wired to activate trigger zones around the map. The puppet will push them around but I’d like to add a small animation of the puppet in a pushing pose that only activates when he comes into contact with the moveable objects. And also end the animation when he moves away from the object.
-
You want to put trigger zones inside each rock with the zone slightly bigger than the rock, the push animation will then trigger when the puppet gets close enough to push it...
Ideally you would sculpt one rock with a trigger zone within the rock group then clone and tweak each rock to look more individual to save on thermo! -
Ok cool, so I could wire one rock with a trigger to the animation’s timeline in the puppets microchip and clone the rock and trigger group?
-
You don't need to have animations for your puppet inside your puppet. It is better to have the animation for the rock interaction inseide your rock. It will still do whatever you animate. But it only activates when inside the trigger zone.
It is also cleaner and coming back to your project is more understandable if you leave things separate -
That’s awesome advice thank you!
-
I would keep any logic involving puppet animation within the puppets brain...
Logic should be localised ideally.
To tidy things up though you could put all the animation logic within another microchip and rename the chip (always name your logic components) will make life a lot easier when returning to the build! -
'@NOZonline: and do you use wireless transmitter everytime? I dont want to wire stuff from across the map into the puppet. I think it‘s messy
-
I haven’t tried using the wireless gadgets yet just the trigger sensor.
Please sign in to leave a comment.