Forum Thread
  Posts  
How to make object float in mid air? (Forums : Level Design : How to make object float in mid air?) Locked
Thread Options
Aug 21 2008 Anchor

<!-- / icon and title --><!-- message -->Does anyone know how to make objects float in mid air in a HL2DM map? I've searched everywhere and can't seem to find any information on this. I'm working on a puzzle map and want to use objects to cross open spaces. For example when you pick up a crate with the gravity gun and move it out over the edge of a building it will hang right where you release it. I can do it with the console command air_density but I don't want to make the change to the whole map just one part of it and I don't want to effect the player gravity. I know it's possible because I've seen it used on other maps. Those of you who have been on the [GU]JRB server will know what I'm refering to.

Thanks in advance for the help!!

Got the answer :-)

Quote: This is something like a prop_physics?

Maybe add outputs something like:

OnPhysGunDrop > !self > DisableMotion
OnPhysGunPickup > !self >EnableMotion

I just had to add the flag enable motion on phycannon grab or it would freeze up after the first time I dropped it.

Thanks The Shadow Knows

Follow up:

You don't need the OnPhysGunPickup > !self > EnableMotion output as long as you enable the enable motion on pickup flag.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.