Jump to content

Throwing Object


dalocogamer
 Share

You are about to reply to a thread that has been inactive for 4282 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Howdy, I am trying to get started into making a small hud where you can throw object back and forth with a friend. Game of catch like we all played when we were young ones. Simple enough I made ball in hand, ball to throw, and hud. I could use suggestions on how to start a script for this. 

 

I've looked at gun scripts and they just have the bullets going stright forever and ever. I would want the ball to start to lose momentum. I'm open to suggestions. Be resonabile and not put down. 

Link to comment
Share on other sites

A voice from beyond has suggested that you might want to play with the effect gravity has on the ball, by using llSetBuoyancy

Alternatively, if you don't mind using mesh accounting and if you don't need a particularly large negative buoyancy, you could try playing with llSetPhysicsMaterial to affect how the ball behaves.   

You've got more tools at your disposal than simply adjusting the angle at which you throw the ball and the force with which you throw it, in other words.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4282 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...