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 (http://localhost:50000/Physics_behavior.js:233:28)
at dc (http://localhost:50000/Physics_behavior.js:213:73440)
at nQ (http://localhost:50000/Physics_behavior.js:214:142833)
at Q.Set (http://localhost:50000/Physics_behavior.js:482:367)
at createPolygonShape (http://localhost:50000/Physics_behavior.js:568:11)
at behinstProto.createBody (http://localhost:50000/Physics_behavior.js:1469:24)
at behinstProto.postCreate (http://localhost:50000/Physics_behavior.js:1083:8)
at Runtime.createInstanceFromInit (http://localhost:50000/preview.js:2839:28)
at Layer.createInitialInstances (http://localhost:50000/layout.js:1316:25)
How i can fix the hanging on edges?
Here a Picture of the Problem:
s14.directupload.net/images/140720/jdxn2vye.jpg (Ball is not falling down.. it is hanging there)