I have a Question to the Rotate feature of C2.
I already have create a Circle with a collision Polygon, so that i can move the Player inside the Circle (The Player is a Circle too). But now at this point, my problem starts.
I have use the Platform Behavior for the Player and set the Acceleration and the Deceleration to 0, so the Player only can Jump.
Next at the Circle i have use the Rotation behavior, which is rotating left or right when i press the Left or Right Key on my Keyboard. That all works great, but when i insert some platforms , the player hanging on the edges and don´t falling down or slide down bevels when the Circle is rotating.. then i test it with the Physics Behavior AND then i get a Errormessage
Uncaught node.js Error
Assertion failed: 3 <= count && count <= 8, at: Box2D_v2.2.1/Box2D/Collision/Shapes/b2PolygonShape.cpp,122,void b2PolygonShape::Set(const b2Vec2 *, int32) at Error
at Error (native)
at x.___assert_func ()
at dc ()
at nQ ()
at Q.Set ()
at createPolygonShape ()
at behinstProto.createBody ()
at behinstProto.postCreate ()
at Runtime.createInstanceFromInit ()
at Layer.createInitialInstances ()
How i can fix the hanging on edges?
Here a Picture of the Problem:
(Ball is not falling down.. it is hanging there)