Hey fellow bge users, I made a player movement script using the character wrapper in python, and there are some attributes that I want to be able to change in-game with properties. I already know how to access properties in python, and I’ve read the api for the character wrapper, but I can’t find any documentation on the attributes for jump force and the step height (and what type of property they are).
Just to give you an idea:
import bge cont = bge.logic.getCurrentController() own = cont.owner #get character char = bge.constraints.getCharacter(own) #use properties as attributes char.stepheightattribute = own['stepheightattribute'] #typed in "stepheightattribute because I don't know what it is char.jumpforceattribute = own['jumpforceattribute'] #typed in "jumpforceattribute because I don't know what it is
Any information would be appreciated.