Tristann Firehawk Posted August 23 Posted August 23 Hello, you all and thank you for existing for us noobs. I'm trying to create an animesh of a 6 legged animal for gor to be autonomous and rideable. So i'm now working on the vehicle to ride the animal. I have a problem with the parameters. It's been 2 days trying to solve it but it seems impossible. The problem is that when the animal climbs a slope it remains floating until it slowly falls to the ground. When descending from a flat surface and finding a downhill slope the creature "glides" until it reaches the ground. I have tried various configurations but none of them work. What I would really like is for the creature to be "glued" to the ground when going up and also when going down. Here is the code I currently have: init() { llSitTarget(llGetPos(), ZERO_ROTATION); // Configura el sit target llSetCameraEyeOffset(<1.0, 0.0, 0.0>); // Configura la cámara detrás del Animesh llSetCameraAtOffset(<1.0, 0.0, 0.0>); llSetVehicleType(VEHICLE_TYPE_CAR); llSetVehicleFlags( VEHICLE_FLAG_NO_DEFLECTION_UP | VEHICLE_FLAG_LIMIT_ROLL_ONLY | VEHICLE_FLAG_LIMIT_MOTOR_UP ); llRemoveVehicleFlags( VEHICLE_FLAG_HOVER_WATER_ONLY | VEHICLE_FLAG_HOVER_TERRAIN_ONLY | VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT | VEHICLE_FLAG_HOVER_UP_ONLY); llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY, 1); llSetVehicleFloatParam(VEHICLE_LINEAR_DEFLECTION_EFFICIENCY, 1); llSetVehicleFloatParam(VEHICLE_ANGULAR_DEFLECTION_TIMESCALE, 0.1); llSetVehicleFloatParam(VEHICLE_LINEAR_DEFLECTION_TIMESCALE, 0.1); llSetVehicleFloatParam(VEHICLE_LINEAR_MOTOR_TIMESCALE, 0.1); llSetVehicleFloatParam(VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE, 0.01); llSetVehicleFloatParam( VEHICLE_HOVER_HEIGHT, 0 ); llSetVehicleFloatParam( VEHICLE_HOVER_EFFICIENCY, 0 ); llSetVehicleFloatParam( VEHICLE_HOVER_TIMESCALE, 1000 ); llSetVehicleFloatParam( VEHICLE_BUOYANCY, 0 ); llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_TIMESCALE, 0.1); llSetVehicleFloatParam(VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE, 0.1); llSetVehicleVectorParam(VEHICLE_LINEAR_FRICTION_TIMESCALE, <1000, 0.07, 1000>); llSetVehicleVectorParam(VEHICLE_ANGULAR_FRICTION_TIMESCALE, <1000, 1000, 1000>); llSetVehicleFloatParam(VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY, 1); llSetVehicleFloatParam(VEHICLE_VERTICAL_ATTRACTION_TIMESCALE, 0.01); llSetVehicleFloatParam(VEHICLE_BANKING_EFFICIENCY, 0.0); llSetVehicleFloatParam(VEHICLE_BANKING_TIMESCALE, 0.0); llSetVehicleFloatParam(VEHICLE_BANKING_MIX, 0.0); } https://gyazo.com/5bcda5d0bd82a5bfc2882a84ad306b38 https://gyazo.com/2d1951faa3210b9fb22e613f34bd7137 I hope i can find some help and I appreciate all the help you can give me Tristann
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now