Fluent Motion

bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
edited September 2012 in Working with GS (Mac)
hello, i know i have asked this question before. Whenever i have the attribute self.Motion.Linear Velocity.x set to 300 if i move it is choppy and UN-smooth. Also whenever i use the Accelerate (90*) at 300 it starts slow and speeds up to very fast at the end.. Anyone help or ideas?

Comments

  • 3xL3xL Member Posts: 676
    have u tried it on the device?
  • 3itg3itg Member, PRO Posts: 382
    Accelerate is for accelerating, but works if you use "drag" under the physics of the actor.

    Changing just self.linear velocity x is probably rough because you aren't changing angular velocity and Y as well.

    Try using the "Change Velocity" behavior.
    Then when you want to stop, use the self.linearx, self.linearY and angular to 0.
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    yes @3xL i have tested it on device.. (i havent for acceleration) downloading viewer now.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Also if using accelerate, on your actor, under its motion properties you may want to apply a maximum speed. This way, it will accelerate, build up speed at the acceleration rate of 300 but will limit its top speed to avoid it going to fast .. otherwise it will just keep accelerating!
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    so @beefy_clyro if u inderstand u correct, it will start at 300 and keep a constant 300?
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    No, it will start slow and build up speed .. as you've mentioned ..
    Also whenever i use the Accelerate (90*) at 300 it starts slow and speeds up to very fast at the end.. Anyone help or ideas?
    You havent said what you really want? Do you want it to build up speed but just limit the maximum speed to control it or do you want a linear movement at the same static move? What is it that is moving? You'll need to give as much info as possible so you can get the help you're looking for.
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    edited September 2012
    @beefy_clyro i want the same speed from start to stop, that's why i have linear motion. but when i jump (try to go over ledge) i have to release the right button, press jump 2 times and then press the right button. any help with that? thats what i was trying to explain at first. sorry was think of something else.
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    edited September 2012
    Bump
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Can Anyone Help?
  • kinzuakinzua Member Posts: 554
    @bjandthekatz if it needs to start at 300.. do change self.motion.linear to 300 and there u have it.. keep accel to 0.. or use the move to behavior with a speed of 300.. no accel there.
  • kinzuakinzua Member Posts: 554
    @bjandthekatz sorry buddy for the prior bugger.. u need to check ur button logic.. thats where the issue is..
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    @kinzua I I paste the button logic could u try to fix it?
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    edited September 2012
    @beefy_clyro , @3itg and @kinzua The Problem Im Having Is That When You Try To Jump On To The 2nd Platform After Hitting It, You Must Release The Right Button, Tap Space, Then Press The Right Button Again, Anyone Know How To Fix?
    And This Is A File Of My Example. http://cl.ly/1L2H0i0s102Z
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    anyone? i need this so i can publish it.
Sign In or Register to comment.