Change Velocity Attribute?
allc1865
Member, PRO Posts: 777
Hello. I want my actor to turn left by itself (I'm not controlling the actor), so I'm using the Change Velocity Attribute to do it.
I've set up an Invisible Actor and placed it in the scene. Then in my actor that will be doing the turning, I said, Rule > when actor overlaps or collides with my invisible actor, change velocity 180.
I also have an accelerate behavior above this rule.
When I go to preview it, my actor rides, but when it gets to the invisible actor I set up, it stops.
Any way to fix this? Thanks.
I've set up an Invisible Actor and placed it in the scene. Then in my actor that will be doing the turning, I said, Rule > when actor overlaps or collides with my invisible actor, change velocity 180.
I also have an accelerate behavior above this rule.
When I go to preview it, my actor rides, but when it gets to the invisible actor I set up, it stops.
Any way to fix this? Thanks.
Best Answer
-
jamie_c ImagineLabs.rocks Posts: 5,772Have you tried directly changing the actors velocity with a Change Attribute behavior instead of using the Change Velocity behavior maybe?
You would use the Change Attribute behavior and in the expression editor access the actors Linear Velocity X and/or Y values.