Forum rules - please read before posting.

Draggable doesn't work with rigidbody

edited August 2024 in Technical Q&A

Hello everyone, i'm trying to use AC's draggable
as one of my game puzzle's mechanic,
I did one of Chris' Tutorial
https://youtu.be/CimRAPhQvAE?si=5Di-o3032TMcOHoZ

It works if it not using Rigidbody (Simulated mass), but it 'll produce errors if i add rigidbody to it.
error message : rigidbody.force assign attempt for 'Knife' is not valid. Input force is { -Infinity, Infinity, NaN }.

This is my draggable's screenshot : https://drive.google.com/drive/folders/11Z-vS03OWhGpi3a12rH_J0DkuavS9mai?usp=sharing

What went wrong?

Comments

  • edited September 2024

    I'd need to see the full Inspectors of the two objects - physics components included.

    What are your AC/Unity versions also, what is the error message in full (stacktrace included), and at what moment does the error display?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.