Jump to content

Jump and physics :


YouGroove
 Share

Recommended Posts

Trying to make some small fun LE3 game, that would need FPS view and jump ability.

 

Actually what is the best method to jump for a character and physics , as there is physic bugs ?

 

Use instead setPhysicPosition ? and in what way ?

 

Does anyone have jumping code working great in FPS view ?

Stop toying and make games

Link to comment
Share on other sites

Hi YouGroove

 

In the Entities SetInput(-character->GetYaw(), character->GetMove(), 0.0F, character->GetJump(), 0.8, 0.8)

 

Its for 4th parameter which applies a jump force. I've set it on a timer so the force is applied for a fraction of a second when you hit a key.

 

hope this helps.

  • Upvote 1
trindieprod.png?dl=0spacer.png?dl=0steam-icon.png?dl=0twitter-icon.png?dl=0spacer.png?dl=0
Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...