i need help to make my boat move and my person as well… can anyone help me with the codes…??
i am stuck with the first person movement codes and i dont know anything about the codes that are used for movement…
Hi @Pragya_Kartikey,
You can check out the following tutorial on first person movement.
https://developer.playcanvas.com/en/tutorials/first-person-movement/
For your boat, you can add forces and impulses to it as long as it is a rigid body.
http://developer.playcanvas.com/en/tutorials/Using-forces-on-rigid-bodies
https://developer.playcanvas.com/en/user-manual/packs/components/rigidbody/
https://developer.playcanvas.com/en/user-manual/packs/components/collision/
I hope this helps.
these codes will only work on macOS?
What kind if movement try this script https://playcanvas.com/editor/code/611884?tabs=19035967
1 Like
@Axulity_YT, this type of movement is for non rigid bodies. You would want to apply forces and impulses for rigid bodies.
2 Likes