Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by jobsboris27

  1. Hi there! How can I sticky one ball(main ball) to another(little ball) and rotate synchronously for directional movement; It's like a weapon for player, when weapon rotate determines the direction of movement; function update() { player.body.angularVelocity = 0; if (cursors.up.isDown) { game.physics.arcade.velocityFromAngle(player.angle, PLAYER_SPEED + PLAYER_ACCELERATION, player.body.velocity); } ball.anchor.setTo(1, 1); ball.body.x = player.body.x; ball.body.y = player.body.y; if (cursors.left.isDown) { ball.angle -= 0.05 * 100; //bug player.body.angu
  2. Hi there! I will create simple 3D game, where i can change active camera. But how create a body for camera, for example - I chanched active camera and i can see the other camera(view of camera, square or circle of camera);
  • Create New...