Skip to content

Virtual character position #200

Answered by jrouwe
LeXXik asked this question in Q&A
Sep 25, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

This one was due to artist creating the coins as a kinematic body with all degrees of freedom axes disabled (dofs == 0). Assert indicated that it may cause division by zero down the line. I am hoping that was the actual cause, as that should explain NaN for position/linvel for the character. Going to keep an eye on it still, as the issue was hard to reproduce in the first place.

Yes, this is quite likely to cause a NaN in position down the line.

That one triggers every step for all characters. I think it is due to them having convex hulls and the correction not being available. This doesn't seem to produce NaN, though, so I assume it is a "safe" assert.

Convex hulls should be covered …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@LeXXik
Comment options

Comment options

You must be logged in to vote
4 replies
@LeXXik
Comment options

@LeXXik
Comment options

@jrouwe
Comment options

@jrouwe
Comment options

Answer selected by LeXXik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants