Scripts / Vertical movement of physics object?

Author
Message
Nuvious
9
Years of Service
User Offline
Joined: 2nd Nov 2015
Playing:
Posted: 2nd Nov 2015 05:45
I'm trying to make a vertical door for a game I'm making and need to hold a collidable object in the air without it falling down. It's going to have a basic raise-lower action to it. I'm trying to avoid using SetPosition, timers, and math to hold them in mid air. Is there a way I can have a collidable physics object that doesn't respond to gravity? I've already tried GravityOff(e), but the Phsyics On property seems to override that. Any help greatly appreciated!

PM
perelect
10
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 2nd Nov 2015 11:34
Try giving the entity zero weight in it properties settings so it wont fall to the ground.

Same as the lift uses in

Broadcast #19: Lifts and Conveyor Belts

cheers
I may be old, but at least my memory still ....hmmm

DT:Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz, Windows 8.1 64-bit, 16 GB Ram, NVIDIA GeForce GTX 750 Ti, Display Memory: 4018 MB. Resolution 1360x768, Passmark 3528, AutoCAD, 3DsMax, Paint.Net, Solidworks.

Login to post a reply

Server time is: 2025-04-29 03:31:15
Your offset time is: 2025-04-29 03:31:15