2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2018-07-31 18:13:10 +00:00
<class name= "LineShape2D" inherits= "Shape2D" category= "Core" version= "3.0.7" >
2017-09-12 20:42:36 +00:00
<brief_description >
2017-09-17 04:06:58 +00:00
Line shape for 2D collisions.
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2017-09-17 04:06:58 +00:00
Line shape for 2D collisions. It works like a 2D plane and will not allow any body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
</methods>
<members >
2017-09-13 06:49:40 +00:00
<member name= "d" type= "float" setter= "set_d" getter= "get_d" >
2017-09-17 04:06:58 +00:00
The line's distance from the origin.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "normal" type= "Vector2" setter= "set_normal" getter= "get_normal" >
2017-09-17 04:06:58 +00:00
The line's normal.
2017-09-12 20:42:36 +00:00
</member>
</members>
<constants >
</constants>
</class>