View topic - Discussion: HOW do I control unit bouce?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 19 Nov 2011, 01:57 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
When units "fall" out of transports or are tossed by impulse they bounce. I don't want this. How can I stop it from happening? does the engine support that?


Top
 Offline Profile  
 
PostPosted: 19 Nov 2011, 02:44 

Joined: 17 Sep 2008, 03:36
Location: your imagination
+1 to mostly inelastic collisions between ground and units.

Most of that energy should converted to work in unit damage and ground deformation anyway.

edit: I'm only geeking some physics, not suggesting that collisions must cause ground deformation, although the option to do that would be cool too.


Top
 Offline Profile  
 
PostPosted: 20 Nov 2011, 11:33 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
BA has a unit_air_release_manager.lua thing to controll units falling from destroyed transports.

gadget:UnitUnloaded also gets called for units whose transport died, so should be possible to check how high the unit is above ground and softly movectrl it downwards like a spacerock.

http://answers.springlobby.info/questio ... e-airborne
Though UnitEnteredAir() & UnitLeftAir() never seem to trigger for me.


Top
 Offline Profile  
 
PostPosted: 20 Nov 2011, 15:47 
Journeywar Developer & Mapper
User avatar

Joined: 24 Jan 2006, 21:12
Location: There is no god - and reality is his prophetess
smoth has a point though.. borked physics are funny, but still borked.
http://www.youtube.com/watch?v=MKISmzmO9Mw

Still i luved to see the artillery send those zombies flying...


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Xangi and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.