How can I make a swing?

hello brothers
I was worried because I could not make a plataform swing when actor collides with it. I want a plataform that is not stable so that when my actor hits it it moves around a specific node or dot like a swing.

Best Answers

Answers

  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2014
    You wanna' swing ?

    There's a separate sub-forum for that kind of thing.
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2014
    But seriously, can you do a quick sketch of what you want ? Do you actually want it to swing or to rotate around a point (like a piece of wood with a nail in the centre rotating around the nail) ?
  • InovaTechInovaTech Member Posts: 161
    woooow thanks. u are awsome
  • InovaTechInovaTech Member Posts: 161
    do you have one that also rotates around a point?
  • SocksSocks London, UK.Member Posts: 12,822
    edited February 2014
    @InovaTech

    Demo: https://www.mediafire.com/?d7739rob96jbf39

    The rotation controls are:

    20*cos( self.Time *100)

    20 is the amount of rotation.
    100 is the speed it rotates at.
  • mangaspraimangasprai Member, PRO Posts: 35
    Astonishing. So simple yet effective!
    Thankyou Really!
  • InovaTechInovaTech Member Posts: 161
    wow thanks a lot. this is perfect :D
Sign In or Register to comment.