Added Sprite Physics and Joints

This commit is contained in:
n00b
2024-10-27 23:24:37 -04:00
parent d49b9f5d58
commit 8f1b72a8e2
125 changed files with 9264 additions and 1223 deletions

View File

@@ -2671,7 +2671,7 @@ void rc_updateActorInertiaTensor(int actor)
}
}
void rc_getActorCOMPosition(int actor, double* x, double* y, double* z)
void rc_getActorCenter(int actor, double* x, double* y, double* z)
{
if(actor < 0 || actor >= rc_actor.size())
return;
@@ -2789,7 +2789,7 @@ void rc_setActorAngularVelocityWorld(int actor, double x, double y, double z)
}
}
void rc_getActorLocalPointVelocity(int actor, double rel_x, double rel_y, double rel_z, double* x, double* y, double* z)
void rc_getActorVelocityInLocalPoint(int actor, double rel_x, double rel_y, double rel_z, double* x, double* y, double* z)
{
if(actor < 0 || actor >= rc_actor.size())
return;