Hi there!
I was hunting down a performance issue for a project when I noticed that a physics related wasn’t showing up on some (custom) blueprints. The property in question is bStaticWhenNotMoveable.
After a bit of investigation I found that the property is actually tagged with the “Lighting” category.
Since the guys probably went “hey this doesn’t even have any visual representation, let’s hide all of the rendering related categories”, that causes this property to not even show up.
/** When mobility is stationary, use a static underlying physics body. Static bodies do not have
physical data like mass. If false, even stationary bodies will be generated with all data
necessary for simulating.
If you need this body's physical parameters on the physics thread (eg, in a sim callback)
then set this to false. */
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category=Lighting, AdvancedDisplay, meta=(
DisplayName = "Static When Not Moveable",
ToolTip = "When false, the underlying physics body will contain all sim data (mass, inertia tensor, etc) even if mobility is not set to Moveable"))
uint8 bStaticWhenNotMoveable:1;
I’m assuming the Lighting category assignment is a mistake ![]()
Kind regards,
Johan Conradie