Sign in to follow this  
TKE Super Dave

Need code for walking on walls.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this