You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run and perform these actions: Try to move the bunny around with a PointerControlledPositioningComponent and let it collide with a collectible component ( a carrot sprite with a physics body)
Bunny pushes the carrot around without triggering the contact event
Expected behavior
didBegin/didEnd Contact event in BunnyContactComponent should be called
Screenshots
Build Environment (what you're developing on)
OctopusKit Version: 'develop'
macOS Version: '10.15.6'
Xcode Version: 'Xcode-12 beta 6 (12A8189n)'
Swift Version: '5.3'
Target Device (what you're compiling for)
Device: 'AppleTV Simulator'
Target OS Version: 'tvOS'
Additional context
The scene has the following setup in createContents
When you use the same contact handler for multiple entities, you'll want to make sure to process each event for only one entity, otherwise you'll be printing "hungry bunny" twice!
That is, didBegin will get called for Entity A and Entity B.
Category: 'Behavior'
Describe the bug
didBegin and didEnd of PhysicsContactComponent not getting called.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
didBegin/didEnd Contact event in BunnyContactComponent should be called
Screenshots
Build Environment (what you're developing on)
Target Device (what you're compiling for)
Additional context
The scene has the following setup in createContents
The text was updated successfully, but these errors were encountered: