Again I decided to see what happens when you do silly things..
First I created a bus shape vehicle as a BSP (complete with open door and steps), as a stationary object I can climb the steps bounce of the interior walls etc,etc..
Second, I attached the bus as a child to my busNull ojbect(which moves through waypoints) therefore dragging the bus along with it.
Problem occurs when you climb into the bus..if I position myself near a interior wall and the bus moves , I pass through the wall, also if I stand infront of the bus (doing my best Superman impersonation), I get pushed through the ground (which I guess is semi realistic). It seems if I want to stay in the bus, I have to keep moving along with it..
I guess the way to fix it, would be to either, have a "USE" action and when I "USE the bus" it adds the camera to the bus as a child node. THe otherway would be to have basic physics where the you can assign a simple weighting system to objects, EG: 0.5 for camera, 1.0 for world map, 0.8 for bus. therefore the bus can move the lower rated/weighted object but cannot move higher..
***ADDED
The weighting system, would be quite usefull, if the player (in a FPS type game), was wearing big chunky armour, and hard super strength, this would allow the player to push the little weaklings away. also you could add the weighting system to projectitles...IE: standing infront of a rocket is not good for the health, plus you have to worry about the big bang too. also imagine a gund fight on a roof top.. even a small projectitle has enough energy to move things.. even a person standing on the edge of the roof, sniping into the crowd below.... (bang, went the little .22) the weakling weedy sniper, gets hit, and is pushed over the edge by the impact of the round...could also be used to knock tin cans off a wall too
Collision issue between camera and moving octree
Collision issue between camera and moving octree
Project Admin -
http://shadowrunonline.sourceforge.net
------------------------------------
There are 10 kinds of people, those that understand binary and those that don't.
http://shadowrunonline.sourceforge.net
------------------------------------
There are 10 kinds of people, those that understand binary and those that don't.
woohoo.. looking forward to it
Project Admin -
http://shadowrunonline.sourceforge.net
------------------------------------
There are 10 kinds of people, those that understand binary and those that don't.
http://shadowrunonline.sourceforge.net
------------------------------------
There are 10 kinds of people, those that understand binary and those that don't.