Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_TouchSensor.h
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | protected: | ||||
| // Use with m_bTouchPulse to detect changes | // Use with m_bTouchPulse to detect changes | ||||
| int m_bLastCount; /* size of m_colliders last tick */ | int m_bLastCount; /* size of m_colliders last tick */ | ||||
| uint_ptr m_bColliderHash; /* hash collision objects pointers to trigger in case one object collides and another takes its place */ | uint_ptr m_bColliderHash; /* hash collision objects pointers to trigger in case one object collides and another takes its place */ | ||||
| uint_ptr m_bLastColliderHash; | uint_ptr m_bLastColliderHash; | ||||
| SCA_IObject* m_hitObject; | SCA_IObject* m_hitObject; | ||||
| class CListValue* m_colliders; | class CListValue* m_colliders; | ||||
| STR_String m_hitMaterial; | |||||
| public: | public: | ||||
| KX_TouchSensor(class SCA_EventManager* eventmgr, | KX_TouchSensor(class SCA_EventManager* eventmgr, | ||||
| class KX_GameObject* gameobj, | class KX_GameObject* gameobj, | ||||
| bool bFindMaterial, | bool bFindMaterial, | ||||
| bool bTouchPulse, | bool bTouchPulse, | ||||
| const STR_String& touchedpropname); | const STR_String& touchedpropname); | ||||
| virtual ~KX_TouchSensor(); | virtual ~KX_TouchSensor(); | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||