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:
    50
    Likes Received:
    53
    mannynic, itzonator and Leighton like this.
  2. Leighton

    Leighton Moderator

    Joined:
    Jan 31, 2018
    Messages:
    274
    Likes Received:
    104
    Awesome Thanks
     
  3. whitedogapp

    whitedogapp Avid Boxer

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

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,399
    Likes Received:
    810
    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:
    50
    Likes Received:
    53
    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:
    190
    @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:
    50
    Likes Received:
    53
    @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:
    190
    @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:
    50
    Likes Received:
    53
    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,399
    Likes Received:
    810
    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,399
    Likes Received:
    810
    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.
     

Share This Page