#Please!!!!! Make the Vehicle Physics Sensor output center of mass from the center of vehicle

1 messages · Page 1 of 1 (latest)

hollow ridge
#

I had to make a CLI tool to extract positions of components on my blueprints. It has been working out quite a bit better than eyeballing at least. 😅

vernal raft
#

from the point of view of the physics engine there is no “center” of the vehicle

#

from data perspective there is a 0,0,0 coordinate but that is not necessarily the actual center of your vehicle

#

especially now that symmetry can be offset

sullen plinth
#

Well, but you could change how the size is shown in a way I suggested, that would allow to both compute in script where the center of the vehicle is size wise and also it would be possible to compare that to the position of the center of mass, because the size would specify the exact position of the physics sensor.
As it is now, the center of mass doesn't even need to be there if you have to count blocks to find the position of the sensor, you can as well count blocks to find the position of the center of mass.

hollow ridge
#

I think a great QoL would be to add in-game tools to measuere block positions and distances. Select one voxel, then select another, and get the distance/vector between those. Then you can pick a point on your vehicle to be your reference point/center, and measure from it.

trim vortex
#

you can make it relative to size x, y and z of a vehicle

sullen plinth
#

I don't understand, what do you mean?

#

If you know what dimensions the vehicle has, and you know where the center of mass is positioned in relation to a specific component, you still need to know where exactly the component is located in that vehicle to pinpoint the center of mass. No?

#

The only other solution I can think of is to manually find the exact center of a build, hope there is nothing important there and place the physics sensor there so you can use it.

small leaf
#

Or you can know the center and apply an offset through code relative to the sensor. But does the com of your vehicle change over time?

sullen plinth
#

Probably will yeah, I am not talking about any specific vehicle, but yeah, it's not gonna be exactly same all the time for all vehicles