I’m trying to make a platformer where the main character can change form and be replaced with another one.
i created two actors (a cube and a ball for that matter) and connected them to the same actuator and tried to write a simple script to switch their visibility on\off. but i can’t figure out how to get each object into the script: will getOwner return an array ? or is there a getOwners() function?
maybe I’m taking the wrong approach here - would it be better to make two separate actors with complete copies of all sensors\actuators ? (i don’t want to have to duplicate basic movement controls). if so, how do i reference the second other actor from the first actor’s script ?
any help will be appreciated.