align vehicle to ground (mesh)

Blitz3D Forums/Blitz3D Beginners Area/align vehicle to ground (mesh)

Santiworld(Posted 2008) [#1]
hi :)...

i have a mesh terrain...

terr = loadmesh("terr.b3d")

and my vehicles...

car\proxy = loadanimmesh("car.b3d")

childs +- body
+- axis1 (axis to turn the whell 1) front left
I +-> whell1
+- axis2 (axis to turn the whell 2) front right
I +-> whell2
+- whell3 rear left
+- whell4 rear right

i want to do this...

* the proxy, allign with the terrain
* the bodycar is afect with inercia, (acelerations + - and turns)
* the whells, linked to the proxy..


my question is, how is the best way, witout cosume to much recurses, to allign the car(proxy), to the scenary mesh...

allways (without use physics libraries.. :p)


Stevie G(Posted 2008) [#2]
Check out the driver example in the Samples/Mac folder.


Santiworld(Posted 2008) [#3]
yes, i see, but is ugly how the cars move...

maibe can be better with best physics factor...


there is no another way to do that?...
consumin less resources?


mtnhome3d(Posted 2008) [#4]
aligntovector with the smooth at .5 or something