Hi,
I have a simple c++ class that inherited from Sprite. It has a PhysicsBody (using default physic engine). In the update method of this class i apply some velocity to it:
void PhysicsBody::update()
{
...
Vec2 velocity;
velocity.x = 0;
velocity.y = 100;
this->getPhysicsBody()->setVelocity(velocity);
...
}
When i use version 3.3 of cocos2d it has not any problem, but in v3.5 and v3.7 it is shaking a little!
When i use Box2D there is no problem.
I use Visual Studio 2013 and build project as win32 project.
Thanks…