Adds a timestamp as a physics parameter.
This commit is contained in:
@@ -1082,8 +1082,9 @@ B3_SHARED_API int b3GetLinkState(b3PhysicsClientHandle physClient, b3SharedMemor
|
||||
int numLinks = status->m_sendActualStateArgs.m_numLinks;
|
||||
b3Assert(linkIndex < numLinks);
|
||||
|
||||
if ((bodyIndex >= 0) && (linkIndex >= 0) && linkIndex < numLinks)
|
||||
{
|
||||
if (status->m_sendActualStateArgs.m_stateDetails != nullptr &&
|
||||
(bodyIndex >= 0) && (linkIndex >= 0) && linkIndex < numLinks)
|
||||
{
|
||||
b3Transform wlf, com, inertial;
|
||||
|
||||
for (int i = 0; i < 3; ++i)
|
||||
|
||||
Reference in New Issue
Block a user