How to apply physics to camera?

I’m using the camera in walk mode for the user to parkour. I want to make a bounce pad to launch the user upon collision. I have written some code which calls the BaseItem.physics.applyImpulse but it doesn’t seem like I can apply physics to camera.

Alternatives?

Hi @cervonwong,

You can’t use Physics properties with the Camera in the public API, despite it having Physics properties.

The alternative is to use Baseitem.transition.moveTo or similar to lift the Camera up, then let it fall “naturally”.

Hope that helps! Let me know if you have any further questions about this. If this solves your problem, please mark this post as the Solution.

Many thanks,
Geoff @ TechLeap

1 Like