Best way to create lots of tracks for actor to move along?

GreenfroggGamesGreenfroggGames Member Posts: 224
edited April 2016 in Working with GS (Mac)

What would be the best way to create lots of specific tracks on a scene? I'm gonna spawn a ball that moves along different tracks that I lay out on my scene.

Comments

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Socks Is it possible to achieve this movement for a ball actor using sin and cos? If so, how do I do? I've tried using tables for x and y coordinates and move to behavior but it's to choppy, I need a smoother movement.

  • SocksSocks London, UK.Member Posts: 12,822

    @GreenfroggGames said:
    @Socks Is it possible to achieve this movement for a ball actor using sin and cos? If so, how do I do?

    Well ! The shape on the far right may or may not be able to be described using a sine function, but there's no real way of knowing, do you want that specific shape or just a general random-ish path ?

    The shape on the left is just moving up with a periodic rotation, so something like . . .

    Move 90° @ speed 50

    Every X seconds
    --change self rotation to 0
    --Interpolate self rotation to 360°, 4 seconds / ease in/out.

  • SocksSocks London, UK.Member Posts: 12,822
    edited April 2016

    I've got a bunch of old experiment tracing out interesting paths that might be useful, let me dig them out . . . . back in a moment . . .

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Socks I want it to be "random-ish" with & without loops.

    @Socks said:
    I've got a bunch of old experiment tracing out interesting paths that might be useful, let me dig them out . . . . back in a moment . . .

    Awesome:)

  • SocksSocks London, UK.Member Posts: 12,822

    Mmmmm . . . can't seem to find them, I had a whole folder of stuff, found a couple of files though, might not be right for what you need . . .

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Socks I'll have a look when I get home, Thanks!

  • SocksSocks London, UK.Member Posts: 12,822
    edited April 2016

    Some more old meandering path files, might be useful:

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

    Includes such classics as . . .

    Broken Steering Wheel

    Curley Wurley

    Curved grid

    Dancing Bees

    Doughnuts

    Etch-a-sketch

    Lost Ant

    Nodules

    Occasional Bump

    Perm Machine

    Rising

    Smooth lumps

    Spaghetti

    Sudden Turn

    Wobbly Signature

    Zig-Zag

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    Great :)

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Socks All these demos are great but is it possible to have the main actor "motherfuckingfly" rotating itself and still moving in those patterns?

  • SocksSocks London, UK.Member Posts: 12,822

    @GreenfroggGames said:
    @Socks All these demos are great but is it possible to have the main actor "motherfuckingfly" rotating itself and still moving in those patterns?

    I don't know what that means.

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Socks I want the actor to spin while still moving in circles and different directions like in your templates

  • SocksSocks London, UK.Member Posts: 12,822
    edited April 2016

    //

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Socks Sorry, don't really know how to explain but let me try again. I want the actor to move like a snake for example and while it moves like a snake the actor is also rotating at a costant speed.

  • SocksSocks London, UK.Member Posts: 12,822

    @GreenfroggGames said:
    @Socks Sorry, don't really know how to explain but let me try again. I want the actor to move like a snake for example and while it moves like a snake the actor is also rotating at a costant speed.!

    Constrain your spinning actor to the moving actor.

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Socks Yeah, that might be the best thing to do. Thanks

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    @GreenfroggGames said:
    actor "motherfuckingfly" rotating itself and still moving in those patterns?

    Well, that's one way to describe it. :P

  • GreenfroggGamesGreenfroggGames Member Posts: 224

    @Braydon_SFX Haha, it's the name of the main actor in the templates.

Sign In or Register to comment.