Browse Source

Update CharacterContactListener documentation (#1794)

Added documentation to help users realize where they have to go next in order to register the listener.
ccn 1 month ago
parent
commit
7c6ed0b59e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Jolt/Physics/Character/CharacterVirtual.h

+ 1 - 0
Jolt/Physics/Character/CharacterVirtual.h

@@ -81,6 +81,7 @@ public:
 };
 };
 
 
 /// This class receives callbacks when a virtual character hits something.
 /// This class receives callbacks when a virtual character hits something.
+/// Once created, register it on a CharacterVirtual by using the character's SetListener method.
 class JPH_EXPORT CharacterContactListener
 class JPH_EXPORT CharacterContactListener
 {
 {
 public:
 public: