Physics Elevator

Physics Elevator

Re: Physics Elevator Posted by Wyes on Tue Nov 11th 2008 at 4:56am
Wyes
3 posts
Posted 2008-11-11 4:56am
Wyes
member
3 posts 0 snarkmarks Registered: Nov 11th 2008
I'm sorry if this topic has come up before, however I did search first to see if it had. I want to create a working elevator using the various physics entities (e.g. Phys_slideconstraint, phys_motor, phys_lengthconstraint and so on). My question (as of now, at some point later it might change) is not how would I go about this, because I'd prefer to attempt to figure it out for myself, but rather is this plausible? For the record, I'm not talking a simple freight elevator, I'm talking a commercial elevator you might see in a high rise building (obviously the mechanisms won't be That complex, it'll be a simplified version, probably won't even have dynamic floor selection, just up or down).

And what was that, you ask why I'd want to embark on such an endeavor? Because I'm working on a project that aims to force the player to use their own ingenuity to survive, and to maximise the amount of freedom they have (within reasonable limits).
Re: Physics Elevator Posted by Wyes on Tue Nov 11th 2008 at 5:49am
Wyes
3 posts
Posted 2008-11-11 5:49am
Wyes
member
3 posts 0 snarkmarks Registered: Nov 11th 2008
Well, that didn't take long. I want to attach a motor to a phys_pulley constraint or something like that to 'pull' my elevator. How would I go about this?
Re: Physics Elevator Posted by Le Chief on Tue Nov 11th 2008 at 7:53am
Le Chief
2605 posts
Posted 2008-11-11 7:53am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
I don't quite understand, do you want to make an elevator with all the facny parts such as gears and leavers or an elevator that reacts to physics, like if there is a heavy object on it, it struggles to lift?

Anyway, I wouldn't know anything about how to do either, I imagine you would need phys and logic entities. Stick around and wait for a response from Riven, he is really good at this sorta stuff!
Aaron's Stuff
Re: Physics Elevator Posted by Wyes on Tue Nov 11th 2008 at 8:46am
Wyes
3 posts
Posted 2008-11-11 8:46am
Wyes
member
3 posts 0 snarkmarks Registered: Nov 11th 2008
I want it to have all the fancy parts, as well as respond to physics.