Physics: Linear - Cannot drive on.
Posted: Tue Mar 07, 2006 5:01 pm
Sorry for multiple posts, recently; but I figured I'd keep respective topics separate.
After much reading and testing, I finally got a physics driver to work that will move the tank at an accelerated velocity (linear). The problem is that I cannot drive ON to the object with the physics driver. I can jump onto it and drive off it at the end, but I cannot drive onto it at its beginning.
FYI about the map: I've created 5 physics drivers; (1) dummy driver with no properties other than a name; (4) linearly accelerated drivers (+/- x/y). There is a group with 3 meshboxes set up to appear in a line, but with small gaps between them (i.e ------- ---- --------). The group is instantiated four times for north, south, east, and west walls. The north wall moves east (linear 100 0 0); the east wall moves south (linear 0 -100 0); the south wall moves west (linear -100 0 0); and the west wall moves north (linear 0 100 0). I set the dummy physics driver for each wall segment in the group defintion; then in each instantiation, I reset the physics driver to the one for the desired velocity change.
Any clues as to why the tank cannot drive on to the speed tracks would help a lot.
EDIT
NOTE: This problem seems to be inconsistent. I'm never able to drive onto the north wall (track moving east), and when attempting I get stuck and must jump to get off. I can always drive straight onto the east wall (track moving south). I can never drive onto the south wall (track moving west), and to get "unstuck," I can simply "move backwards" which will force a jump; however, this trick occurs on no other wall. I can sometimes drive onto the west wall (track moving north) and sometimes cannot.
I'm hosting a demonstration map with just 4 bases, 4 walls, and a track on each wall (no textures), at bz.kicks-ass.org:5100
There also seems to be a problem with the southeast (purple) base - no movement above a certain height (try going up the steps that lead to the top level of the base... and try spawning at the base (purple team) )??
END EDIT
Thanks
PsYch0
After much reading and testing, I finally got a physics driver to work that will move the tank at an accelerated velocity (linear). The problem is that I cannot drive ON to the object with the physics driver. I can jump onto it and drive off it at the end, but I cannot drive onto it at its beginning.
FYI about the map: I've created 5 physics drivers; (1) dummy driver with no properties other than a name; (4) linearly accelerated drivers (+/- x/y). There is a group with 3 meshboxes set up to appear in a line, but with small gaps between them (i.e ------- ---- --------). The group is instantiated four times for north, south, east, and west walls. The north wall moves east (linear 100 0 0); the east wall moves south (linear 0 -100 0); the south wall moves west (linear -100 0 0); and the west wall moves north (linear 0 100 0). I set the dummy physics driver for each wall segment in the group defintion; then in each instantiation, I reset the physics driver to the one for the desired velocity change.
Any clues as to why the tank cannot drive on to the speed tracks would help a lot.
EDIT
NOTE: This problem seems to be inconsistent. I'm never able to drive onto the north wall (track moving east), and when attempting I get stuck and must jump to get off. I can always drive straight onto the east wall (track moving south). I can never drive onto the south wall (track moving west), and to get "unstuck," I can simply "move backwards" which will force a jump; however, this trick occurs on no other wall. I can sometimes drive onto the west wall (track moving north) and sometimes cannot.
I'm hosting a demonstration map with just 4 bases, 4 walls, and a track on each wall (no textures), at bz.kicks-ass.org:5100
There also seems to be a problem with the southeast (purple) base - no movement above a certain height (try going up the steps that lead to the top level of the base... and try spawning at the base (purple team) )??
END EDIT
Thanks
PsYch0