You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you add a jolt joint to a scene and manually assign the nodes it works as expected but if you attempt to get a reference to it in code Godot returns an error of not being able to cast Node3D to the joint type.
object System.Runtime.CompilerServices.CastHelpers.ChkCastAny(System.Void*, object): System.InvalidCastException: Unable to cast object of type 'Godot.Node3D' to type 'Godot.Generic6DofJoint3D'.
Installed via Godot AssetLibrary and followed installation steps listed
The text was updated successfully, but these errors were encountered:
I'm guessing you're adding a JoltGeneric6DOFJoint to the scene? The substitute joints (JoltGeneric6DOFJoint, JoltHingeJoint3D, etc.) can't be used from C# in that way, unfortunately. See #632.
You'll need to use the regular Generic6DOFJoint instead, which uses Jolt as well.
Tested with all joints.
If you add a jolt joint to a scene and manually assign the nodes it works as expected but if you attempt to get a reference to it in code Godot returns an error of not being able to cast Node3D to the joint type.
object System.Runtime.CompilerServices.CastHelpers.ChkCastAny(System.Void*, object): System.InvalidCastException: Unable to cast object of type 'Godot.Node3D' to type 'Godot.Generic6DofJoint3D'.
Installed via Godot AssetLibrary and followed installation steps listed
The text was updated successfully, but these errors were encountered: