-
Content Count
25 -
Joined
-
Last visited
About angeltrickz
-
Rank
Member
Recent Profile Visitors
1659 profile views
-
help when firing with weapon.(fire) goes by apoco lowering the fps how can I avoid this?
-
thanks but I already solved the problem: P
-
VRDeviceOrientationFreeCamera not work!!
angeltrickz replied to angeltrickz's topic in Questions & Answers
thanks but I already solved the problem: P -
help in my game I eliminate an enemy with enemy.kill () and deasa appears but the associated weapon keeps firing .. and enemy.destroy () gives me an error ..
-
VRDeviceOrientationFreeCamera help does not work .. I try to use it on my cell phone but it does not move ...
-
var camera = new BABYLON.VRDeviceOrientationFreeCamera ("Camera", new BABYLON.Vector3 (-6.7, 1.2, -1.3), scene, 0); camera.attachControl(canvas, false); console.log(camera.inputs.attached) camera.inputs.attached.deviceOrientation.detachControl(canvas); var onOrientationEvent = function(evt) { this._alpha = (+evt.alpha | 0) + 45; this._beta = (+evt.beta | 0) + 45; this._gamma = +evt.gamma | 0; this._dirty = true; } camera.inputs.attached.deviceOrientation._deviceOrientationHandler = onOrientationEvent.bind(camera.inputs.attached.
-
How to rotate body with Arcade physics? when trying to just rotate the sprite not the body
-
for (var i in Game.playerMap) { for (var e in Game.weaponMap) { game.physics.arcade.collide(Game.playerMap[i], Game.weaponMap[e].bullets,Game.colision(i), null, this); } }; Game.colision = function(id){ //console.log(id); //Client.socket.emit('colision',"colision"); }; I want to make collisions and send them via socket to the server ... but for now I have a problem because it constantly sends me collisions without detecting between the shot and the enemy .. any ideas?
-
how can I define the hit area of a single bullet and a sprite
-
hello I am trying to move a sprite with Accelerate To Pointer and send with socekt to the other players. but I do not find ... any support? game.update = function(){ player.rotation = game.physics.arcade.moveToPointer(player, 60, game.input.activePointer, 500); Client.socket.emit('rotandpos',{x:player.x,y:player.y,r:player.rotation}); };
-
help as mesh move in the direction of the camera ?? ..
angeltrickz replied to angeltrickz's topic in Questions & Answers
thank you pro the answer .. but I mean an object follow another or to the camera ... as this example in unity : https://www.youtube.com/watch?v=ZEZBY_OmbNs -
https://www.youtube.com/watch?v=ZEZBY_OmbNs this in babylonjs ?? ???
-
help!!!! skeleton blender to babylon
angeltrickz replied to angeltrickz's topic in Questions & Answers
ready .. thanks -
help!!!! skeleton blender to babylon
angeltrickz replied to angeltrickz's topic in Questions & Answers
mm other questions as I leave the character walking in place ..that this not move axes ..