|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-24-2007 09:04
Hi guys
I'm playing with some physics and I'm building a 'canon' which launches temporary balls, like those used to practice tennis or baseball for example.
I can get it to emit and all that no problem, but I can't get it to fire it with any force in any particular direction. I've got the rotation of the launcher prim and tried to use that as a vector but still it doesn't work how I want it to.
Any advice please?
Cheers
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|
|
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
|
11-24-2007 09:34
for the velocity, use (<destination> - <current position>  *5 or better yet llRot2Fwd(llGetRot()) * 50 Just two simply ways.
|
|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-24-2007 09:58
Thanks, reduced " llRot2Fwd(llGetRot()) * 50" to " llRot2Fwd(llGetRot()) * 20" so it's not too fast and that works perfect
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|
|
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
|
11-24-2007 10:06
I live to serve  Always willing to help someone who isn't afraid to say thanks.
|