Description

A user reported that FBodyInstance::GetBodyBounds() fails if RigidActorSync is a PxRigidStatic. They stated that it returns uninitialized data because PxRigidStatic does not subclass PxRigidBody.

Steps to Reproduce
  1. Open the BodyInstance.cpp file in the source code.
  2. Find the GetBodyBounds() function.
    • Line 2890 in Main stream (CL 2787912).

RESULT:
The current function uses ExecuteOnPxRigidBodyReadOnly().

EXPECTED:
The user suggested the function should instead use ExecuteOnPxRigidActorReadOnly().

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Simulation - Physics
Affects Versions4.11
Target Fix4.12
Fix Commit2936302
Main Commit2944273
CreatedDec 3, 2015
ResolvedApr 7, 2016
UpdatedApr 27, 2018