Jump to content

Non-physics based movement


Go to solution Solved by StOneDOes,

Recommended Posts

Posted

If I disable physics on my player controller (by GetEntity()->SetPhysicsMode( PHYSICS_DISABLED ) ), is there a way that I can now use SetPosition() on it to move it around for something like climbing a ladder? Because the SetPosition() function seems to have no effecf after disabling physics.

Should this work? I'm pretty sure I'm not doing anything else that is grounding the player controller, given that jumping works just fine when the physics are enabled.

  • Solution
Posted

Ok this is just my own mistake. Simply disabling physics on the entity is all that needs to be done. My camera is not being correctly updated here.

Thanks for your help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...