h4wek 43 Posted July 19, 2022 Why this command not work instantly for vehicles - for example when vehicle is not on flat terrain it should be fall down, now it start to move after punch it by other vehicle, but it starts to act even in oposite way (it start to move itself even if ground isn't flat - it movin upstairs and even can tug connected by rope other vehicle - BTW it has destroyed engine by water and no fuel - pertemum mobile). For wheeled and floating vehicles like gorgon it act similar but after punh transport in water - it start to swim so by rope is possibile to get it to coast - but after first stop is not possibie to move it again. Of course for that solution working _cargto setTowParent _tug command but even this not act so smooth like it should - towed vehicle moving in jumps when rope is stretch to maximum. In this situation when terrain is in that shape after relase brakes vehicle should move to water if it's wheels/tracks are ok (now it is't like that) - and tow command will not be needed. I supose that actual situation is due to limit cpu usge for simulation of physx - but maybe is possibile to make some instant working command for that. 1 Share this post Link to post Share on other sites
reyhard 2082 Posted August 6, 2022 Probably vehicle simulation is in sleep state - simulating everything all the time would be extremely expensive otherwise. You can use new script command to awake physx objects https://community.bistudio.com/wiki/awake 1 1 Share this post Link to post Share on other sites
Dedmen 2696 Posted August 31, 2022 Its not sleep state. Even with setTowParent, when pulling the vehicle moves and lifts up, but its wheel brakes don't disengage. disableBrakes has the same problem, it turns off the brakes on engine side, but for some reason it doesn't actually disengages the brakes in the physx simulation. Both KK and me tried to figure that out, but couldn't find the reason for it. setTowParent manually rotates the wheels to overcome this. 1 Share this post Link to post Share on other sites
killzone_kid 1330 Posted August 31, 2022 When you disable brakes the vehicle is in sleep state like @reyhard explained. You can awake the vehicle but the force of gravity translated to pull might not be strong enough. But giving vehicle a little velocity nudge is all you need quad disableBrakes true; quad setvelocitymodelspace [0,1,0]; 1 Share this post Link to post Share on other sites