Hey Community i have a short question is it possible to give a object a different center of mass for example you have a model and in reality its heavier like at its feet so the center of mass is not in the actual center of the object, so can you change to center of mass so that the mass is focused on another point or do you guys have a trick to make a model heavier at its feet? Thx CodeWarrior
GameStudio A7 Extra ultitech - Ultimative Technology
Hi, to change the mass' center I only know to change in the function phent_setmass ( entity, var mass, var hulltype ); through the different types of hull and you get different center of mass, but i don't know if you can set a mass' center manually.
Last edited by painkiller; 02/18/1016:39.
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
yes, but the entity that holds the object must be also a physics entity and you have to set constraits, here you have more info about it: http://www.conitec.net/beta/ph_constraints.htm
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
@painkiller thanks for the reply c my problem is that i want to make a racing game with good physics 4 the cars, means they should be heavier where the engine is so that they dont flip over too easily. Since now I have the car body and 4 wheels physicly being attached to the car. But the car still flips over to easy any advise?
GameStudio A7 Extra ultitech - Ultimative Technology