WeIf Posted July 27, 2020 Posted July 27, 2020 (edited) hello how I can change object to be ball or any thing ? I mean move same ball not txd or dff Edited July 27, 2020 by WeIf
Moderators Tut Posted July 28, 2020 Moderators Posted July 28, 2020 It sounds like you would want to set the physics of an object. If so, see this function: https://wiki.multitheftauto.com/wiki/SetObjectProperty
WeIf Posted July 28, 2020 Author Posted July 28, 2020 11 hours ago, Tut said: It sounds like you would want to set the physics of an object. If so, see this function: https://wiki.multitheftauto.com/wiki/SetObjectProperty what is string property to be same َdoor ?
Jesseunit Posted July 29, 2020 Posted July 29, 2020 14 hours ago, WeIf said: what is string property to be same َdoor ? bool setObjectProperty ( object theObject, string property, var value ) The function setObjectProperty needs 3 required arguments (theObject, property and value) to work. If you take a look at the setObjectProperty wiki page you'll see a `Required arguments` heading. Any of the below properties are supported: "mass" - float "turn_mass" - float "air_resistance" - float "elasticity" - float "center_of_mass" - Vector3D - (x, y, z) "buoyancy" - float The prefix before the variable name is the type.
WeIf Posted July 29, 2020 Author Posted July 29, 2020 4 hours ago, Jesseunit said: bool setObjectProperty ( object theObject, string property, var value ) The function setObjectProperty needs 3 required arguments (theObject, property and value) to work. If you take a look at the setObjectProperty wiki page you'll see a `Required arguments` heading. Any of the below properties are supported: "mass" - float "turn_mass" - float "air_resistance" - float "elasticity" - float "center_of_mass" - Vector3D - (x, y, z) "buoyancy" - float The prefix before the variable name is the type. yes I know buy how change to be same door ? I need example
Jesseunit Posted July 29, 2020 Posted July 29, 2020 1 hour ago, WeIf said: yes I know buy how change to be same door ? I need example I'm sorry but I don't fully understand your reply. Do you want an object to behave the same as a door?
WeIf Posted July 30, 2020 Author Posted July 30, 2020 10 hours ago, Jesseunit said: I'm sorry but I don't fully understand your reply. Do you want an object to behave the same as a door? Yeah , I want any object behave the same as a door
Hydra Posted July 30, 2020 Posted July 30, 2020 Try this https://wiki.multitheftauto.com/wiki/EngineSetObjectGroupPhysicalProperty or https://wiki.multitheftauto.com/wiki/EngineSetModelPhysicalPropertiesGroup
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now