Variable Orbiting Strength

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

  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2014

    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.

  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2014

    Here are the basics:

    Link: https://www.mediafire.com/?n6uwxr09j3irpp4

    Click on the screen to spawn actor.

  • chrisd36chrisd36 Member Posts: 4

    Thank you very much for the assistance.

Sign In or Register to comment.