It is now possible to turn the rim, but it does not roll with the engine drive.
Script.rueda = nil --entity "Rueda" -- Wheel
Script.susp = nil --entity "Susp" -- Spring
function Script:Start()
self.volante = self.entity:GetPosition()
self.dir = Joint:Hinge( self.volante.x, self.volante.y, self.volante.z, 0, 1, 0, self.susp, self.rueda )
self.dir:DisableLimits()
--self.dir:SetLimits(-35, 35 )
end
function Script:UpdateWorld()
self.dir:SetAngle( self.dir:GetAngle() + 100 )
self.dir:EnableMotor()
self.dir:SetMotorSpeed(10)
end