View Full Version : Gravity on Projectiles
legacy-Smiledk
02-19-2005, 01:27 AM
Hello, I really need some help!
I am trying to modify a gun that shoots a grenade. I was wondering what features in Grenade class would I need to prevent the grenade from touching the floor. I want the grenade to move across but not up and down.
legacy-ghouck
02-19-2005, 03:05 AM
Do you mean you do not wish for gravity to effect the projectile. If so, in the projectile's DefaultProperties enter Physics=PHYS_Projectile. Grenades are set to PHYS_Falling, which makes gravity effect them. Pardon me if my interpretation of your question is incorrect, for I am quite drunk at the moment.
legacy-Smiledk
02-19-2005, 04:24 AM
I've tried that. I guess what I am trying to do is:
When you shoot one grenade against a wall, it bounces right back at the same level. Doesn't loose speed or decreases in height towards the ground.
Hsoolien
02-19-2005, 04:53 AM
PHYS_Projectile should do the trick, if not try PHYS_Flying (I'm drunk too... Weee :) )
legacy-Smiledk
02-19-2005, 05:03 AM
thanks!!! it works now.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.