Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by misho » Sat May 11, 2019 4:47 pm
Similar to my last problem, I am getting another assert, different point in the execution, and different location:
in
- Code: Select all
void dCustomBallAndSocket::ApplyTwistAngleRow(const dVector& pin, dFloat twistAngle, dFloat timestep),
line 312:
- Code: Select all
dAssert(dAbs(twistAngle * dRadToDegree) < 10.0f);
Looks like a similar problem. In this case, twistAngle reads:
twistAngle = -0.22680466430319834
Last edited by
misho on Sun May 12, 2019 7:19 pm, edited 1 time in total.
-
misho
-
- Posts: 673
- Joined: Tue May 04, 2010 10:13 am
by Julio Jerez » Sat May 11, 2019 5:18 pm
I was revamping that joint because I am going to use it for the dynamic smart player.
I added that debug code to see how big the error can be before correcting it.
if you sync it is removed. the joint will recovers.
it will be interestiong to know what is the game doing when that happens,
it is doing a hard impact or something?
if you look at the code you will see this.
- Code: Select all
void dCustomBallAndSocket::ApplyTwistAngleRow(const dVector& pin, dFloat twistAngle, dFloat timestep)
{
static int xxxx;
dTrace(("%d %f\n", xxxx, twistAngle * dRadToDegree));
xxxx++;
dAssert(dAbs(twistAngle * dRadToDegree) < 10.0f);
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by misho » Sat May 11, 2019 5:28 pm
Julio Jerez wrote:I was revamping that joint because I am going to use it for the dynamic smart player.
I added that debug code to see how big the error can be before correcting it.
if you sync it is removed. the joint will recovers.
it will be interestiong to know what is the game doing when that happens,
it is doing a hard impact or something?
if you look at the code you will see this.
- Code: Select all
void dCustomBallAndSocket::ApplyTwistAngleRow(const dVector& pin, dFloat twistAngle, dFloat timestep)
{
static int xxxx;
dTrace(("%d %f\n", xxxx, twistAngle * dRadToDegree));
xxxx++;
dAssert(dAbs(twistAngle * dRadToDegree) < 10.0f);
Ok, thanks, I will sync ASAP. The assert is thrown at the point when the first small parachute is deployed (it is used to pull away the parachute cover on the capsule). I don't think it is a super hard impact or anything - a fairly small parachute (with small drag) tugs on a fairly light parachute cover. You can see that point in my video, the very first parachute action ( 3 small parachutes pull away a capsule cover)
-
misho
-
- Posts: 673
- Joined: Tue May 04, 2010 10:13 am
by misho » Sun May 12, 2019 7:18 pm
Confirmed, fixed!
Thanks!
-
misho
-
- Posts: 673
- Joined: Tue May 04, 2010 10:13 am
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 0 guests