How do you wake a sleeping projectile?

beefsack
Sat, 12 Jul 2014 08:08:17 +0000
World Creation

Currently using blueprints to manage a long lived projectile. The projectile can come to a standstill and be awoken again by players by clicking on it.

Have tried the following and the velocity is not applied:

Actor -> Get Collision Component -> Wake All Rigid Bodies -> Get Projectile -> Set Velocity

If the actor is currently awake, the velocity is correctly set and it moves accordingly. If the actor is asleep however, the velocity is still set (confirmed with logging) but it doesn’t move at all, even with the Wake All Rigid Bodies call.

Any assistance would be greatly appreciated.

2 posts - 2 participants