Hi,
I'm new to Construct and using Construct r1.2.
I have 2 instances of Wheel object with Physics behaviour and 1 instance of Body object with Physics too, and here is what i want to do:
1- I want to change the torque of one wheel from a Python script.
2- I want to create a hinge between a wheel and the body from a Python script too.
In the script editor only "Wheel" is detected. I found on the Wiki that i should write ObjectnameBehaviourname. What should i write to access the Physics behaviour or any other behaviour in general?
Note: using the UI of the event sheet it works fine for me but i want to use Python scripting
EDIT:
i found this tool that gives the correct syntax http://www.scirra.com/forum/viewtopic.php?f=16&t=6158&start=0&hilit=pyshell
it is very useful!
So i have to write: WheelPhysics[index].HingeToObject(...)
But i wonder, why the scripteditor does not detect such syntax?? does it need a fix?