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 / phy get collision normal force - Working?

Author
Message
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 23rd Sep 2009 11:22
I can't seem to get these commands working...

The help files are next to useless and there seems to be nothing on the forums regarding their use?

I will be very happy to be proved wrong!

I am trying to set the volume of a sound when it is triggered by a collision dependant on the strength of the collision. If there is a better way to do this can somebody let me know?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 23rd Sep 2009 12:58
This seems to be a useful thread actually:
http://forum.thegamecreators.com/?m=forum_view&t=148306&b=30

I searched under "Impact"...

I'll try it later and post how it went.
Orion1024
15
Years of Service
User Offline
Joined: 7th Mar 2009
Location: Dimensional Coordinates: 323.935.914.157
Posted: 24th Sep 2009 23:41
In the function 'Check_For_Object_Collision' replace 'SPHERE_OBJECT_NUMBER' with 'object_number' on the lines for x_force, y_force and z_force. It was an oversight on my part.

Looking for the vortex to another Earth
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 25th Sep 2009 10:40
Thanks @Orion1024, I adapted it for my code anyway and got it working fine from your example but this might help future users...

Login to post a reply

Server time is: 2024-04-19 06:07:37
Your offset time is: 2024-04-19 06:07:37