Minecraft Movements + Camera Template

Discussion in 'BBNodes' started by Clixo Games, Jul 24, 2019.

  1. Clixo Games

    Clixo Games Boxer

    Joined:
    Mar 3, 2019
    Messages:
    51
    Likes Received:
    61
    mannynic, itzonator and Leighton like this.
  2. Leighton

    Leighton Avid Boxer

    Joined:
    Jan 31, 2018
    Messages:
    373
    Likes Received:
    182
    Awesome Thanks
     
  3. whitedogapp

    whitedogapp Avid Boxer

    Joined:
    Oct 8, 2015
    Messages:
    295
    Likes Received:
    72
    can u make it with mouse move not joystick???
     
  4. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    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.
     
  5. Clixo Games

    Clixo Games Boxer

    Joined:
    Mar 3, 2019
    Messages:
    51
    Likes Received:
    61
    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.... :)
     
    Last edited: Oct 19, 2019
    AppNasty likes this.
  6. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    @Skyhub Games @OneHitGamer

    why is it not colliding? The only reason I can think is the speed is that why are they moving fast?
     
    AppNasty likes this.
  7. Clixo Games

    Clixo Games Boxer

    Joined:
    Mar 3, 2019
    Messages:
    51
    Likes Received:
    61
    @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
     
    AppNasty likes this.
  8. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    @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.
     

    Attached Files:

    Last edited: Oct 20, 2019
    itzonator and AppNasty like this.
  9. Clixo Games

    Clixo Games Boxer

    Joined:
    Mar 3, 2019
    Messages:
    51
    Likes Received:
    61
    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 :)
     
    AppNasty likes this.
  10. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    Works a charm! Thanks Puff Daddy. lol. Now i can move forth with FPS.
     
    itzonator likes this.
  11. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    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.
     
  12. Mystogan

    Mystogan Boxer

    Joined:
    Apr 11, 2020
    Messages:
    13
    Likes Received:
    1
    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
     
  13. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    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.
     

Share This Page