[C#] Physics Native Research
-
Let's all try to find some information about
SET_OBJECT_PHYSICS_PARAMS
void SET_OBJECT_PHYSICS_PARAMS(Object object, float weight, float p2, float p3, float p4, float p5, float gravity, float p7, float p8, float p9, float p10, float buoyancy) // F6DF6E90DE7DF90F E8D11C58
This is a really useful native, and I'm sure a lot of people can benefit from more information.
@CamxxCore @stillhere @Rarefacer You guys seem to know some things we don't?
-
@sollaholla Definitely useful. I can try looking at the implementation internally again.. Probably better than any kind of hit- and miss trial and error method. Usages in decompiled scripts doesn't seem to offer much info either, other than that setting any one of the parameters to -1 will cause it to be ignored.
-
@CamxxCore said in [C#] Physics Native Research:
setting any one of the parameters to -1 will cause it to be ignored.
I'll definitely take note of that.
-
I am looking forward to CamxxCore's findings! I went through all the unknown ones (trial and error) and most seemed to affect falling speed.