Bounce

Questions and answers about the how and why of making maps.
Post Reply
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Bounce

Post by fox in the fog »

I've tried to put some boxes with "caution" texture with also a physic driver which:

Code: Select all

physics 
  name phy3 
  linear 50 50 50 
end
physics 
  name phy4
  linear 50 50 50 
end
These are the boxes I've added on my map

Code: Select all

box  
  name box_bounce_under
  position -350.0 -390.0 0.0
  size 26.0 4.0 1.0
end
meshbox  
  name box_bounce
  position -350.0 -390.0 1.0
  size 26.0 2.0 0.5
  matref caution
  phydrv phy4
end
box  
  name box_bounce_under
  position 350.0 390.0 0.0
  size 26.0 4.0 1.0
end
meshbox  
  name box_bounce
  position 350.0 390.0 1.0
  size 26.0 2.0 0.5
  matref caution
  phydrv phy3
end
And I would like the tank jump in the direction of the center of the map... Should I add some "-" in the values to have an opposite direction? Exactly how?
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: Bounce

Post by optic delusion »

Each physics driver will need to be adjusted to match it's particular box.
If your box is in a + + quadrant, you'll probably want - - physics.
If your box is in a - + quadrant, you'll probably want + - physics.
etcetera.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: Bounce

Post by fox in the fog »

Thank you so much :)
Post Reply