Jump to content
  • Advertisement
Sign in to follow this  
TKE Super Dave

Need code for walking on walls.

This topic is 4271 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For a class project me and my classmates are trying to make a first person shooter game where you can walk on walls and the ceiling. However the language is all in cscript for the game we are making, problem is we know very little about cscript as most of us have a background in Java and C++. We have been trying to find code that would allow us to walk on walls and such just like in the game prey, however we haven't found any. Here is a demo of what I want to be able to do exactly: http://users.adelphia.net/~duffey/prey_.zip If you could show me some code that would do this or point me in the right direction to where we might find this, that would be awesome. Thanks in advanced.

Share this post


Link to post
Share on other sites
Advertisement
There is no code per se for walking on walls/ceiling.

Just think a bit: How do you do walking on the floor? What's the difference between floors and walls?

Hint: the surface normal is your friend

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!