In a FPS, an elevator may be a very common thing.
I am not some programmer thats a fact, but I can’t get this to work and it should be pretty simple.
I can’t find some way to get an elevator that lifts a player up one level. I searched like a mad man all over the forums for an answer.
The Answer:
The Rigidbody… I’m not sure who made this claim, but pretty sure they must have forgot the rigid body doesn’t actually work anymore. If you use it, your player slides randomly in a direction, if you cross the point 0,0,0 in the programs third dimension, you shoot off in one direction wildly.
I’m praying this will get answered or that, will really, suck for me.
Sure I don’t have to use the rigidbody, or have an elevator, and I could just not have other features with that too.
I’m pretty cranky today and tired. I’ll probably read this tomorow with no replies and edit it to sound nice… but probably not.
The 2D Platformer example includes an implementation of how to handle moving platforms. We use a similar technique in Time Donkey:
Unity 2D tools for game dev – evolved for optimal graphics performance (look at PlatformerController.js)
:shock: Haha, well damn…
Now I look like an ass, lol but I don’t feel like one so thats good. Thanks, I owe you one. ![]()
Edit: Well that doesn’t solve my rigid bodies problem… maybe it will. thanks
Honestly it sounds like you’re just doing something wrong/weird with the rigidbody thing ![]()
Well I went searching through, and found the rigid body that came as its own project and an example of how its features worked.
The little scene demo just instantly after I ran into one object it started bugging and throwing me off in a direction.
If there is a definate working rigid body with the 2d platformer tutorial then I will give that a try in a week.
(Wish I could today but disease, work and education is swamping me)