PDA

View Full Version : Projectile Offsets



flyingmonkey3
February 24th, 2011, 09:21 AM
Does anyone know what the bounding offsets and origin offsets of a projectile do? I'm guessing that the bounding offsets change where the projectile is rendered while the origin offsets change where the projectile is actually created, but I may be wrong.

Dwood
February 24th, 2011, 10:26 AM
Test it. Set a biped up and test, say a rocket launcher with its velocity turned down so you can mark where it goes. Then fire a bunch of shots off with each projectile. (Separate weapon per projectile for faster testing)

flyingmonkey3
February 24th, 2011, 11:08 AM
Alright. I'll post my findings here.

E: Hmm strange. They both seem to only change where the projectile is rendered.

To explain in detail, if I change the z offset (for either bounding and origin) the rocket will appear higher, but the explosion will still be at the expected regular height.

Kornman00
February 24th, 2011, 12:58 PM
Since they're generic object properties (and nothing specific to projectile) they're just going to affect the rendering aspects of the object