Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gdevelop5:behaviors:bounce [2019/07/12 14:57]
heather
gdevelop5:behaviors:bounce [2019/07/17 23:43] (current)
4ian
Line 1: Line 1:
-====== ​Bounce ​Behaviour ======+Bounce ​Behavior
  
 **STILL IN DRAFT** **STILL IN DRAFT**
Line 20: Line 20:
   -   Click **Apply**.   -   Click **Apply**.
  
-<WRAP center round info 60%> +## What's the logic behind the behavior? 
-=== What's the logic behind the behavior? ​=== + 
-The behavior looks at the object'​s position and velocity at the time of the collision. It adds a force in the direction of the normal vector, and then adds the difference between the normal vector and the previous angle of movement. +<note info> 
-</WRAP>+The behavior looks at the object'​s position and velocity at the time of the collision. It adds a force in the direction of the normal vector ​between the collided object and the object, and then adds the difference between the normal vector and the previous angle of movement. 
 +</note>