Hi all, I’m still learn the API of BGE and I notice that the Frequency option change to Skip, but if I use the API function sens.tick_skip doesn’t work, it give me an attribute error, is it a bug or I do something wrong ?
You’re looking at the bpy module, for use inside blender only. The game engine has its own API.
You can find this API reference also in the Blender docs (bge/bge.types/SCA_…), but also using the dirfunction which shows the attributes of the object. In your case, the error AttributeError means that no attribute with the name you provided exists.
Have a quick look at this topic. It’s about how to use the blender/BGE API.
In specific, the section on subclassing. All sensors inherit from SCA_ISensor which contains skippedTicks