I want to do an angular move like this

agueisagueis Member Posts: 420
I want to do an angular move like this

but moving like in an invisible sphere how can i make it?, now is interpolated.

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited March 2014
    Looks like its just moving between way points make 4 coordinates and move it from a-b-c-d-a etc.

    Should be simple enough for you to do?

    Darren.
  • agueisagueis Member Posts: 420
    Hello DeepBlueApps this project is made for me, what i have done is interpolate the object to different positions , but what i want is a clear move like a sphere moving around the barrel, i don´t know if this is possible.
  • agueisagueis Member Posts: 420
    any one helps?
  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2014
    moving like in an invisible sphere how can i make it?, now is interpolated.
    what i want is a clear move like a sphere moving around the barrel
    None of what you've written makes much sense, maybe that's why no one's offered any ideas as yet ?

    For example, what is a 'clear move' ?
    What does an 'invisible sphere' move like ?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    What does an 'invisible sphere' move like ?
    Nobody knows because it's invisible, @Socks. duh.

    I'll take a guess that what @agueis actually wants is an orbit around the barrel... yes?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • agueisagueis Member Posts: 420
    Yes, i want an orbit around the barrel, i´m sorry is difficult for me speak English i´m from Spain.
  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2014
    Ah! I see, you want something to move in a circle, I was just confused by all the different terms ('angular', 'invisible sphere', 'clear move' etc), but you just want something to move in a circle ?

    If so then try this:

    Constrain X position to AAA*cos(self.time*BBB)+CCC
    Constrain Y position to AAA*sin(self.time*BBB)+CCC

    AAA = radius of circle.
    BBB = speed.
    CCC = the centre point.
  • WhySoCREATIVEWhySoCREATIVE Member Posts: 75
    @Socks i bet you paid attention in maths class. I already forgot all my cos sin tans lol
  • agueisagueis Member Posts: 420
    Thanks very much, everything ok
Sign In or Register to comment.