Hi, everyone…
I’m a new user of Blender, so I’m still green…
So… There are some things I want to ask:
The code:
cont = GameLogic.getCurrentController() own = cont.getOwner()
Does own refer to the object? (I mean the object that’s linked to the python script)
How if there are 2 objects linked to that script?
I want to make a collision in Blender…
Like in Macromedia Flash, collision = hitTest()…
Example:
My hero is A, and the villain is B…
If A touches B, so B will disappear…
So… What should I do to make that happen in Blender?
for the second question u dont need a script all u have to do is give the hero a property of die set it to int ir float then select the villian give it a sensor select collision and tipe in the property box die then add a controller then add an actuator select edit object in that select end object.link the logic bricks toghter and thats all check my page for pictu:spin:res
for the second question u dont need a script all u have to do is give the hero a property of die set it to int ir float then select the villian give it a sensor select collision and tipe in the property box die then add a controller then add an actuator select edit object in that select end object.link the logic bricks toghter and thats all check this out