Jump to content

Help Scale


kevincouto6

Recommended Posts

Quote


antenna = createObject ( 3877, 1268.2054443359, -2036.7420654297 + 2, 59.5, 0, 0, 0 )
if ( antenna ) then -- if it was created
    -- set the scale to half the normal scale
    setObjectScale ( antenna, 20)
    setElementCollisionsEnabled (antenna, true)
    
end

I created the object but how very large I need a collision with the scale 20 can anyone help me?

Link to comment

when you set the scale, you can´t set the colision but you can add an other object and use this function with the other object ( that going to add a colision depending the normal scale of the other object )

setElementAlpha(theotherobject, 0)

 

Link to comment

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...