here is something I made long time ago with change in the transformation of Viewpoint
http://www.tpeople.co.il/inuyasha/dp...rmlmanred2.wrl
http://www.tpeople.co.il/inuyasha/dp...rmlmanred1.wrl
And about the Physics with VRML, I toght about PhysicsNode.
I know that you have collision parameter in basic nodes. I toght using PhysicsNode like you use material node instead.
Regular cone shape
Code:
DEF Cone1 Shape {
appearance Appearance {
texture ImageTexture {
url IS bodytex
}
material DEF Red_mat Material {
ambientIntensity 0.200
shininess 0.200
diffuseColor IS bodycolor
}
}
geometry Cone {
height 2.000
bottomRadius 1.000
}
}
Cone shape with PhysicsNode
Code:
DEF Cone1 Shape {
appearance Appearance {
texture ImageTexture {
url IS bodytex
}
material DEF Red_mat Material {
ambientIntensity 0.200
shininess 0.200
diffuseColor IS bodycolor
}
}
physicsnode DEF SimplePhysics PhysicsNode {
mass 10
collision TRUE
friction 0.2
bounding 0.5
}
geometry Cone {
height 2.000
bottomRadius 1.000
}
}
Thats the basics. Didn't tought how to mention joints in the PhysicsNode. but maybe it could use the groups to determin the part in the joint(altho, how could you detouch joints?)
Bookmarks