PhysicalResponse2

Ideas for Game Editor evolution.

PhysicalResponse2

Postby jazz_e_bob » Mon Apr 25, 2005 5:56 am

double PhysicalResponse2(int moveType, int massType, double massEventActor, double massCollideActor, double eventVelocityMultiplier, double collideVelocityMultiplier)

returns collision speed.

Why?

You could use it to control how loud the collision sound is played. How much damage is done. etc
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby ingsan » Mon Apr 25, 2005 6:08 am

YES, Brillant :P
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby makslane » Tue Apr 26, 2005 7:08 pm

Some considerations:

1) Create the function getCollisionSpeed() to be used in any collision event, even if not use the PhysicalResponse action.

2) Create the functions getCollisionSpeedX() and getCollisionSpeedY() to get the velocities in x and y directions
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Tue Apr 26, 2005 9:22 pm

Of course! :)

I will experiment...
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest