- Home /
making body a rigidbody without using the physics fps walker
hi, im trying to make an fps game and im having some problems with my character, basicly i want the character to behave like a rigidbody while using the fpsWalkerEnchanted (http://www.unifycommunity.com/wiki/index.php?title=FPSWalkerEnhanced) is this possible and can someone help me please? as it is now, no obnject can move me and i cant move anything myself. im kinda new on unity, and i dont have any scripting skills what so ever.
Answer by AngryOldMan · Apr 17, 2011 at 12:23 PM
you need to take out the lines of code that refere to the character controller component then you need to include rigidbody.AddForce to move it and rigidbody.AddTorque to turn it. Then effect it's mass, angular drag, etc (in the inspector), in order for it to push other objects around and act "right" for your environment.
im sorry, didnt really understand what you said there. could you maby post the script where the modify have been made?
No, if you dont understand how to script then try this http://lmgtfy.com/?q=how+to+script+in+unity first link is the script documentation which explains how to use the syntax and gives examples and the second is a pdf which is a tutorial on how to get to grips with the concept of scripting in Unity. This site isn't for begging people to give you codes, try writing your own and posting them if they are wrong or having a go at altering the script and add anotations with // to explain what you are trying to do.
Answer by mak · Apr 27, 2011 at 09:37 PM
QUOTE "No, if you dont understand how to script then try this lmgtfy.com/?q=how+to+script+in+unity first link is the script documentation which explains how to use the syntax and gives examples and the second is a pdf which is a tutorial on how to get to grips with the concept of scripting in Unity. This site isn't for begging people to give you codes, try writing your own and posting them if they are wrong or having a go at altering the script and add anotations with // to explain what you are trying to do. AngryOldMan Apr 17 at 16:03"
OMG that was sooooooooooo funny lol :)
Your answer
Follow this Question
Related Questions
How to handle movement in a multiplayer FPS? 0 Answers
How can I get a responsive rigidbody FPS controller without acceleration that reacts to forces? 2 Answers
Need Help in FPS controller based on Rigidbody 0 Answers
RigidbodyFirstPersonController and external forces... 0 Answers
Low framerate on physics initialization. 0 Answers