Data Realms Fan Forums
http://45.55.195.193/

Inherits Velocity
http://45.55.195.193/viewtopic.php?f=1&t=12856
Page 1 of 1

Author:  Exalion [ Sun Nov 30, 2008 4:03 am ]
Post subject:  Inherits Velocity

Hi guys.

I'm making a mine-deployer weapon (similar to findude's rigger, but coded totally differently), and a problem I'm having is that depending on how the device is detonated, the explosives all go in weird directions.

for example: if a soldier shoots the mine from the left, all the explosives will travel mainly to the left.

first of all, that's backwards, and second of all, even if it wasn't it'd still make the device less useful.


Oh, and the 'explosive' is actually an AHuman. and has to be for the code to work.

Author:  Azukki [ Sun Nov 30, 2008 4:07 am ]
Post subject:  Re: Inherits Velocity

Maybe your AHuman mine is overdoing it with the recoil/impulse based detonation, and sending itself into a high velocity before gibbing.

And are the gibs set to inherit velocity?

I don't really understand your explanation of what it's doing and what you want it to be doing.

Author:  findude [ Sun Nov 30, 2008 10:27 am ]
Post subject:  Re: Inherits Velocity

GlobalAccScalar = 0 without pinning makes them
float about even without any velocity.

Author:  Exalion [ Sun Nov 30, 2008 11:21 am ]
Post subject:  Re: Inherits Velocity

That's probably it Azzuki, I modified the gun they wield to blow them up...
hmm, I'll work it out...

Author:  Geti [ Mon Dec 01, 2008 9:28 am ]
Post subject:  Re: Inherits Velocity

just in case (as you havnt specified) all the gibs are "inheritsvel = 0" yeah? all of them. on the gun and the ahuman.
yes?

Author:  Exalion [ Mon Dec 01, 2008 12:07 pm ]
Post subject:  Re: Inherits Velocity

nope, I put that in.

And it crashed -.-

Author:  findude [ Mon Dec 01, 2008 1:10 pm ]
Post subject:  Re: Inherits Velocity

InheritsVel = 0 only goes to the GibParticle. Where the Spread and Count is.
Check the vanilla stuff!

Author:  Exalion [ Tue Dec 02, 2008 6:41 am ]
Post subject:  Re: Inherits Velocity

Thanks Findude! I couldn't find it in the vanilla code, that's why I'd put it in the wrong place.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/