See Also: CollisionEdge2D
They are provided to assist in making a free-form static environment for your game. A major limitation of edge shapes is that they can collide with circles and polygons but not with themselves. The collision algorithms used by Box2D require that at least one of two colliding shapes have volume. Edge shapes have no volume, so edge-edge collision is not possible.
Assembly: Urho (in Urho.dll)
Assembly Versions: 22.214.171.124
The members of Urho.Urho2D.CollisionEdge2D are listed below.
See Also: CollisionShape2D
|Constructs a new instance of Urho.Urho2D.CollisionEdge2D which is tied to the Application.CurrentContext.|
|Constructs a new instance of Urho.Urho2D.CollisionEdge2D, given a raw pointer to an unmanaged object|
|Constructs a new instance of Urho.Urho2D.CollisionEdge2D linked to a specific Context.|
|Type||StringHash. Urho's type system type.|
|TypeName||String. Urho's low-level type name.|
|TypeNameStatic||String. Urho's low-level type name, accessible as a static method.|
|TypeStatic||StringHash. Urho's low-level type, accessible as a static method.|
|Vertex1||Vector2. Return vertex 1. Or Set vertex 1.|
|Vertex2||Vector2. Return vertex 2. Or Set vertex 2.|