17-10-2025, 03:55 PM
Hi, obi actors (in my case rod) have got field with name massScale.
In mu understanding this is multiplier for particle mass and, indeed according to code it's used to with rotational mass and standard mass when blueprint is loaded.
However expected result was that it just influences weight of the actor, so when two actors collide, then the other one is heavier, but the result is that it affects a lot of things, for example compliances does not work in the same way, or collision with static colliders is alos different (but it could be side offect of compliance).
In theory that make sense because compliance is actually just added to weight.
Example from constraint:
In any case, is that expected result? Should mass scale affect everything in this way? If yes, then what is affected except constraint? (I get completely different lambdas)
It seems it influences collision with static colliders too and also velocity applied to body, but shouldn't velocity be mass indepentent? (I add velocity with spring to controll rod movement)
In mu understanding this is multiplier for particle mass and, indeed according to code it's used to with rotational mass and standard mass when blueprint is loaded.
However expected result was that it just influences weight of the actor, so when two actors collide, then the other one is heavier, but the result is that it affects a lot of things, for example compliances does not work in the same way, or collision with static colliders is alos different (but it could be side offect of compliance).
In theory that make sense because compliance is actually just added to weight.
Example from constraint:
Code:
float3 dlambda = (omega.value.xyz - compliances * lambdas[i]) / (compliances + new float3(w1 + w2 + BurstMath.epsilon));In any case, is that expected result? Should mass scale affect everything in this way? If yes, then what is affected except constraint? (I get completely different lambdas)
It seems it influences collision with static colliders too and also velocity applied to body, but shouldn't velocity be mass indepentent? (I add velocity with spring to controll rod movement)

