Giter Site home page Giter Site logo

Comments (6)

mihe avatar mihe commented on June 2, 2024

You'll see both signals triggered at the same time

I'm running your repro, but I'm not seeing this behavior, no matter which of the areas I try to walk into.

Is there anything else I have to do?

(I am however seeing some jank when being pushed by that TrapWall thingy, which doesn't seem to happen with Godot Physics, but that's unrelated to this I guess.)

from godot-jolt.

Vityy avatar Vityy commented on June 2, 2024

Hey!

For the jank I don't think it's related but would be good to investigate too, as for the Area3D I don't know what happens but after I restarted my computer it suddenly works.

Apart for the fact that the player is detected as entering and exiting the area when the lift goes down, the entering and exiting seems to be working fine now.

I don't know what was happening before that or if you can reproduce it, Maybe try in a fresh new project.

from godot-jolt.

mihe avatar mihe commented on June 2, 2024

Apart for the fact that the player is detected as entering and exiting the area when the lift goes down, the entering and exiting seems to be working fine now.

You mean as it's descending or once it's hit the ground again? I'm not seeing either of these. For me it acts as expected, where you get an enter event when you step onto the lift and an exit event when you step off.

from godot-jolt.

Vityy avatar Vityy commented on June 2, 2024

Try to stay on the lift when it goes up and when it's descending take a look at the debug console (activate the gizmo in game you'll see that you never exit the area3D collider), you'll see that you enter and exit the area3d multiple times.

That is also happening with Godot default physics but it seems strange to me that it happens in the first place :)

from godot-jolt.

mihe avatar mihe commented on June 2, 2024

I am seeing something like that if I make the area's height a bit shorter, like 0.5 m. In that case it exits as it starts descending and enters once it's hit the bottom, which I suppose might make some kind of sense if the area's step size is greater than the overlap between it and the character. The fix there would be to just make the area taller.

You might also want to change the process mode of your tweens to be tween.set_process_mode(Tween.TWEEN_PROCESS_PHYSICS) since they're modifying the positions of physics objects, otherwise you'll potentially get very different outcomes on different machines, which might explain some of the differences we're seeing.

Anyway, given that the issue happens with Godot Physics as well it's unlikely to be an issues with this extension, so I'll go ahead and close this.

from godot-jolt.

Vityy avatar Vityy commented on June 2, 2024

Ok thank you for the intel, I'm kind of new to Godot 4 and Jolt physics. Thank you for the fast answer and help.

Just tried making the area collider bigger than the character capsule and it indeed worked. Was used to Unity not working the same :)

from godot-jolt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.