Hello I need help adding gravity to a slingshot template on gamesalad called Slingshot Template i downloaded it and I am having a hard time adding gravity to it
whatever actors you want to have gravity, put a accelerate down behavior by itself in those actors and make sure its relative to scene. Best way to have gravity and not have it effect unwanted actors.
Thanks I tried doing the accelerate attribute but the issue with that is that before the object in the slingshot shoots out the object is already getting pulled down by gravity.
add a boolean attribute to your ammo objects.....SOmething like, Is Shot and set its default value to false....put your down accel inside a rule that only activates if Is Shot = True. When your ready for gravity to effect it turn Is Shot = true
Thanks you so much Jbsitedesign it worked for me took a while to know where to put the attribute and also what happens when I click the box under attributes where the Is Shot boolean attribute was made?
Comments
cheers