Jump to content

Object speed


Biggi

Recommended Posts

Posted
setElementVelocity (Gate[1] , 0, 0, 0 ) 
            setElementVelocity (Gate[2] , 500, 500, 500 ) 
            moveObject(Gate[1], 971, -1433.8000488281, -639.29998779297, 1098.0999755859) 
            moveObject(Gate[2], 971, -1436.1999511719, -646, 1098.0999755859) 

I currently have that but they both go at the same speed and I need to slow the object down, how to do that?

Posted

setElementVelocity isn't for this.

The second argument of moveObject is the speed, in this case "971".

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Yes you're right! I was just searching around on google/forum and found that after abit of hard looking and leant, Thanks anyways :) And the lower the number the faster it is I think but I'll find out my self :D

Posted

Yes, that's right, the lower the number, the faster it'll move.

You're welcome.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...