-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The player could drag a cone for a few seconds after colliding with it.
After collision with a cone, either leave it alive for 2-3 seconds and push it, or let it disappear as it would and enable a child object of the Player which would be a cone. If that cone collides with another obstacle (car or cone), count it as a hit and reset the 2-3 second counter (maybe by cancelling co-routines, or simply resetting values).
After the 2-3 seconds of dragging, animate the cone, either to fall into a horizontal position (as a sword would in Virgil Scrolling Upwards) or something similar. During this, make the cone blink to indicate the disappearance.
It could mess with the collision detection situation if not designed properly, so don't rush it before committing.