slayeruk
(slayeruk)
April 5, 2014, 11:24am
1
How can I enable Physics Simulation for a specific actor?
My actor has a Static Mesh only which is using the default cube from the UE.
I tried setting SetSimulatePhysics(true).Which works but then I get
“PIE:Warning: Warning Trying to simulate physics on ‘‘None’’ but no physics body”
So I guess the question is how to correctly add a physics body to my mesh?
Elzean
(Elzean)
April 6, 2014, 3:58pm
3
I got here because i have the same problem. This turn up as the first link from google and it’s really not helpful. You could have spent the same amount of time writing how you solve it instead of this…
slayeruk
(slayeruk)
April 6, 2014, 11:03pm
4
sorry its one bool. bSimulatePhysics. and the way I solved it is by not using physics since they don’t work as expected when using 2D
please use mesh->SetSimulatePhysics(true); instead