Jump to content

How Do You Move Up/Down?


practicing01

Recommended Posts

  • 2 weeks later...

Can you just jump off the floor?


Also you could make custom commands to add an impulse to the player, this should allow for up/down movement in 0g.


Sorry to derail this thread, but i want to ask another question and dont really feel like making a new thread, but how can i make a bot crouch/jump/etc?

Link to comment
Share on other sites

practicing01,

In the console , just using

%obj.setvelocity("0 0 10");

works with the defaultPlayer datablock settings for mass(120) , density(1.3) and drag(1.1) and the gravity mod of the physical zone set to 0 . I didnt bind a key to it but you could try it . Of course , you can change that z value(10) to whatever . 10 seemed fairly quick .


Code_Man

As for the Crouch animation just using

 %obj.setActionThread(pistol_crouch_root , 0 , 0);

 


in the console did fine The bot would move in the crouch position from this point . I was having a bit of trouble selecting the bot , I dont know why , made me imagine of some way to access bots or groups of bots from a list of bots added using the NavMesh and possibly assigning animations to multiple bots .

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.

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...