Moving an actor with / without physics

Overdhose
Sun, 26 Mar 2017 12:58:44 +0000
World Creation

Hi all,

I’m trying to make a simple die game, and attached is a blueprint to draw dice from the bag, move them into the scene at spawnpoints and then trigger a throw event. The dice are basically simple actors. To save on physics calculations, I had made a function to Toggle their physics on off, so only the dice being rolled would have physics enabled. Now this works fine as long as I call the physics toggle function before the setactorlocation function, but if i move the toggle after the setactorlocation function like in the screenshot, the dice don’t actually move to their location, and if any know as to why

here you see the result if I toggle before move :

and this is the effect if I toggle after the setloc :

I’d really like to undrestand what the difference is

1 post - 1 participant