Variable Orbiting Strength
chrisd36
Member Posts: 4
Hello everyone.
I'm looking to making an application with an actor that, upon a mouse click, orbits slowly closer to the click location. As it orbits closer the speed of the object also increases. I'm able to make the actor orbit no problem, however I am little confused how I would do the other portions.
Thanks in advance for any assistance,
Chris
Comments
Getting the radius of the orbit to reduce over time is simple enough, as is getting the speed to increase, but without knowing how your current project is set up I would only be making guesses . . . . but basically you need to reduce the radius over time by interpolating it towards your target size . . . . while interpolating the centre position towards the point at which the touch was made.
Here are the basics:
Link: https://www.mediafire.com/?n6uwxr09j3irpp4
Click on the screen to spawn actor.
Thank you very much for the assistance.