We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

V3.0.1 The collision turns off after a few hits in the game

Home Forums Bug Reports and Feature Requests V3.0.1 The collision turns off after a few hits in the game

Tagged: , ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #25441
    Dzynek
    Participant

    Hello :)

    The collision stops after a few collisions of the Ship with the Environment. :scratch:

    Strange artifacts in Blender Editor 2.82a objects: Surroundings (I am sending a screenshot and project)

    Regards

    #25446

    Hi,

    The collision stops after a few collisions of the Ship with the Environment.

    it may be the physics bodies went to sleep (they now do automatically after some period of idleness to save performance).
    Just ‘activate’ your object again with the new body control puzzle (v. 3.1 pre1-2). Or disable sleeping altogether by using the same puzzle (‘disable deactivation’).

    Chief 3D Verger | LinkedIn | Twitter

    #25448

    Change your clipping Start to 0.01 from 0.001 and clipping end to 1000 from 10000.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft.

    #25454
    Dzynek
    Participant

    Change your clipping Start to 0.01 from 0.001 and clipping end to 1000 from 10000.

    Thanks to the Blender artifacts disappeared :)

    disable sleeping altogether by using the same puzzle (‘disable deactivation’).

    unfortunately disable deactivation didn’t help and it got worse because now the Ship is going crazy :wacko:

    I have included the updated Verge 3.1pre2 project

    I am not in a hurry, I will wait for the newer version of Verge.

    It is possible that I did something wrong and will try again in my free time. :)

    Regards

    #25468
    Dzynek
    Participant

    The “Get Object Direction” puzzle always returns: [0, -1, 0] regardless of the rotation of the object

    #25470

    The “Get Object Direction” puzzle always returns: [0, -1, 0] regardless of the rotation of the object

    isn’t player a group?

    Chief 3D Verger | LinkedIn | Twitter

    #25471
    Dzynek
    Participant

    isn’t player a group?

    no

    I am attaching the Verge 3.1 pre2 project

    #25473

    Hi Dzynek,

    you should avoid limiting movements and rotations of dynamic bodies directly. Instead you should use the new “factor” puzzles we introduced in the recent pre-release. See the screenshot attached to find out how to use them in your game.

    Also we fixed a bug in the “angular factor” puzzle, it will be available in pre3. For now you better use this Puzzles build to proceed:

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:85d49e2766/applications/tmp/puzzles.min.js

    put it in the puzzles directory inside your verge3d distro.

    Attachments:
    You must be logged in to view attached files.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #25475

    As for object direction, this value looks valid to me. If you open your Ship in Blender and press “1” on your numeric position you’ll see that its near side is directed right to us, as such it looks in -Y direction.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #25514
    Dzynek
    Participant

    Hi Alexander

    Thanks now works fine :yahoo:

    #25531

    :good:

    Chief 3D Verger | LinkedIn | Twitter

    #25580
    Dzynek
    Participant

    Is there any easy way to restart the game (preferably without reloading)?

    I tried to restart using the Load Scene function but an error occurred.

    visual_logic.js:259 Uncaught TypeError: Cannot read property 'traverse' of null
        at getObjectNamesByGroupName (visual_logic.js:259)
        at retrieveObjectNamesAcc (visual_logic.js:288)
        at retrieveObjectNames (visual_logic.js:280)
        at changeVis (visual_logic.js:799)
        at Object.Player_speed [as collideCb] (visual_logic.js:1392)
        at Array.tick (visual_logic.js:1299)
        at v3d.js:1
        at v3d.js:1
        at a (v3d.js:1)

    I attach a project in Verge 3.1 pre2

    The End of Game window appears when we collide with the surroundings.

    #25611

    Hi,

    try to unload your scene first. But you may still want to reload the window because of event listeners etc.

    Chief 3D Verger | LinkedIn | Twitter

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.