♜ Special thx to Mrjin for the help on this node ♜ ♜ Link ♜ ➥ http://www.mediafire.com/file/3gaf4suvhzn0f94/Minecraft_movement_%2B_Camera_Template.bbdoc/file ★ What does this Template/Node? ★ So for those who want a game with movements like minecraft and camera drag this is your way to go Feel free to modify this how ever you want. ★ How noncoder friendly is this node? ★ For now this template only offers the basic movement and camera with joystick drag.
Question. Is it possible to make it so characters will collide with objects? No matter what i do with collision settings the player still walks through every object.
You are not the only one who is facing this problem. Can't finish my games because of this bug + some others Its a physics bug when you use the controller... unfortunately it hasn't been fixed yet. Reported it a long time ago and recently again. Hopefully it will get fixed in the next update....
@Skyhub Games @OneHitGamer why is it not colliding? The only reason I can think is the speed is that why are they moving fast?
@PunkPuffin It has nothing to do with the speed Its a bug with the physics when you use the controller with a dynamic object. they are aware and know the bug, they just haven't fixed it yet.. The controller output that the object use to check and set the position, uses the codeline "setPosition()" and that makes the object's collision not follow the object it self. We can use setLinearVelocity but that stilll doesn't work with how a object should move. If you use that the physics will be so wierd. Especially when you have a topdown game
@Skyhub Games @OneHitGamer May not be 100% but there is more than 1 way to skin a cat...... Have a look at the attached version The setPosition isn't a bug really. It isn't meant to work with Physics. I raised this a while back when I worked for them briefly. What is needed is a function that specifically works with Physics.
I know that is not a bug but rarther a problem.... But doing it this way, causes problems with the collision it self (Also no reason to do it this way). There is absolut no reason to have it not working with dynamic objects. As i have reported ("There must be a option to have dynamic objects to be effected or not by setRotation and setPosition or just in general physics it self") - But thx for the little fix meanwhile
Heres a random Q. I only noticed it with this bbdoc and no others. Bu the main camera in the editor is diff. Like it itself is in Orthogonal mode.
Is there away to get it so the camera and character move together like in a fps? when i move the cam it just spins round the object
Was trying this node out [years later lol] did you ever figure out how to fix dual touch? I have my own and just cant seem to nail it. Yours does the same. 2 analogs on screen, camera and one for movement, but when exported to device, you cant press both same time. Only 1 ever works at a time.