|
Post by Red Moon Entertainment on Dec 27, 2016 15:46:43 GMT
I was trying to make a Transform object work. I tried different types of Event starting but I'm having some issue. What do you suggest to do?
|
|
|
Post by Karvy on Dec 28, 2016 0:54:52 GMT
scripting
|
|
|
Post by Power Supersport on Dec 28, 2016 10:59:13 GMT
Pretty straightforward answer... I don't recommend using a Transform object... I was never able to learn how it works and I don't think I will need at any point soon... Just use a script...
|
|
|
Post by Red Moon Entertainment on Dec 28, 2016 11:29:24 GMT
Ok ... I think I'll need a little help
|
|
|
Post by Karvy on Dec 28, 2016 12:15:48 GMT
Red Moon Entertainment First of all we need you give some information about your problem for example why do you need a transform object, or what do you want to do with it Power Supersport haha sorry man I don't use to post in english forums
|
|
|
Post by Red Moon Entertainment on Dec 29, 2016 18:19:08 GMT
I's trying to move the characer from a place to another.
|
|
|
Post by Karvy on Dec 30, 2016 3:02:26 GMT
1) add a script 2) link the script to the object you want to move 3) add this code:
void Main() { Vector3 objectLocation = Vector3(10,0,0); //the object will move 10 meters on X axis, 0 on Y and 0 on Z. iObjectLocationSet(OBJ_0,objectLocation); //Move or Set the OBJ_0 (your object) to "objectLocation"'s coordinates
} so then you initialize the game and the object will move 10 meters away in X axis.
|
|
|
Post by Red Moon Entertainment on Dec 30, 2016 13:12:58 GMT
Thx a lot!
|
|