i have been using needle engine Navmesh demo scene where i have a character and i needed to play animations on trigger but every time when i try to apply rigidbody either on character or the other objects the navmesh misbehaves in away that every time i click on a plane the character spawns from that object on which rigid body is applied the overall behavior gets messed up need help with that
Hi Danial!
It sounds like you are experiencing issues with NavMesh behavior when using Rigidbody with your character in the Needle Engine. Here are some possible solutions and considerations to address this issue:
-
Rigidbody Settings: Ensure that the Rigidbody settings are configured properly for the character and objects interacting with the NavMesh. In some situations, if the Rigidbody is set to kinematic or fixed, it may affect the NavMesh navigation. Confirm that the Rigidbody on the character is not set to kinematic unless required.
-
Collider Types: Use appropriate collider types for your character and other objects. For instance, if you’re using Sphere or Box colliders, make sure they are configured correctly. You may also want to ensure that the colliders are not interfering with NavMesh calculations.
-
Collision Layers: Check if the collision layers for the character and NavMesh are set correctly, as misconfigured layers can cause unexpected behaviors in physics interactions.
-
NavMesh Recalculation: If you are dynamically modifying any colliders or rigidbodies during runtime, ensure that the NavMesh is recalculated or updated appropriately. This can usually be done through functions available in the library you’re using.
-
Physics Simulation State: Be mindful of the physics simulation state and ensure that all objects are being properly updated each frame. You can use debugging logs to track the state of your Rigidbody and Collider components.
-
Check Triggers: If you are setting animation triggers on the character during these interactions, ensure that the animation transitions are happening correctly based on Rigidbody states and collisions.
If the problem persists, consider providing specific versions of the Needle Engine, Unity or Blender you are using, and share any relevant code snippets for better assistance.
Feel free to reach out if you need further guidance or clarification!
1 replies left - Get a PRO license for more AI replies.
thread_2u2clroiYvOQYELG6PtAlj9p
Reply to this message to continue the conversation
Hello Daniel,
Thanks for reporting. We’ll look into it. Could you provide a video of what you’re seeing? Your description isn’t quite clear to me unfortunately.
For my understanding: You don’t actually need physics in your scene but only want to trigger an animation when your character enters a specific area? Could you describe a bit more what you’re trying to archieve? If you only want to invoke an event (or play an animation) you could try using SpatialTriggers only (you can checkout the SpatialTrigger sample for that)
sure here is the video when i attach rigidbody to the cube and box collider then it happens if i remove box collider then it works fine
(Attachment Navmesh & pathfinding - Google Chrome 2025-04-07 09-43-17.mp4 is missing)
sure here is the video when i attach rigidbody to the cube and box collider then it happens if i remove box collider then it works fine
i have shared the link
https://drive.google.com/file/d/1yM2VFiHaDIa7b4ZNNeAo7BaomZatPWrL/view?usp=sharing
sure here is the video when i attach rigidbody to the cube and box collider then it happens if i remove box collider then it works fine
i have shared the link
https://drive.google.com/file/d/1yM2VFiHaDIa7b4ZNNeAo7BaomZatPWrL/view
i hope you have check the video in link and what iam trying to achieve is make a multiplayer wolf game i will need to spawn objects implement damage to other wolf
so far i have been able to implement on trigger enter exit scripts to attack
used multiplayer scene to spawn multiplayer characters
things iam stuck on
the animation does not sync running animation when i use the keyboard to move character using character controller but when i use the example scene where animations are run on buttons that works fine and it syncs over the internet properly i will need help on that
then the AI monster thing in navmash demo scene its working fine but ill use SpatialTriggers like you suggested Thank you
if you could can you help me with animation sync those animations that are played by animation controller that will be of great help thankyou