Get speed of mouse applied to actor
OrbInteractive
Member Posts: 14
I have an actor's position constrained to my mouse. I'm using that actor to collide into things. Think of your finger slashing through things in Fruit Ninja, but in my case when I impact something I spawn a new actor and give it a speed to fly away. What I'm trying to figure out is if there is a way I can get the speed of my mouse movement and have it be applied to the spawned actor's new velocity? Any ideas?
Comments
Constraing linear motion x to vecolity.
When one actor its destroyed and spawned the other you can take it from that.
Recap, I'm trying to bat things around.