We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
right now I have some code on a thrown object so that this runs in OnCollisionStart
protected override void OnThrowImpact( Collision collision ) { if ( !collision.Other.GameObject.TryGetComponent<IDamageable>( out var damageable, true, true ) ) return; PhysicsComponent.Enabled = false; ModelCollider.Enabled = false; GameObject.SetParent( damageable.GameObject ); }
However, it acts like this: throw.webm
If I comment out the SetParent it behaves much closer to as expected: throw.webm
SetParent
The text was updated successfully, but these errors were encountered:
No branches or pull requests
right now I have some code on a thrown object so that this runs in OnCollisionStart
However, it acts like this:
throw.webm
If I comment out the
SetParent
it behaves much closer to as expected:throw.webm
The text was updated successfully, but these errors were encountered: