Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / [Dark Dynamix] Shooting an object

Author
Message
GALACTUS
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location:
Posted: 2nd Jun 2012 06:19
Is there a way to shoot an object like a sphere from a cannon in any direction? I can't seem to figure this out. This could apply to anything else like an enemy attacking you as well or from anywhere else with the use of AI.

Thanks in advance.

?..?..?..?
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 2nd Jun 2012 15:35
Here is a function from the cloth demo:



You could also just set up the object facing the direction you wish then apply a 'local' force instead, would probably be easier that way.

Login to post a reply

Server time is: 2024-11-24 13:27:33
Your offset time is: 2024-11-24 13:27:33