General

Reply

Physics2D kinematic body not waking dynamic body.

hey everyone, i'm having an issue with kinematic physic body's not waking up dynamic one's.

 

the kinematic body move's through the dynamic one as if nothing was their, however, if i touch the sleeping body with another dynamic body, it wakes, and throws itself away from the kinematic body.

Please use plain text.

Re: Physics2D kinematic body not waking dynamic body.

Hello,

 

It seems that this is a bug.

 

It seems that this problem can be fixed by changing the following source code.

 

[Broadphase.cs]

 

// one of objects is sleeping and the other is static object
// if((ob1.sleep == true)&&(ob2.invMass == 0)) return false; comment out

// one of objects is sleeping and the other is static object
//if((ob1.invMass == 0)&&(ob2.sleep == true)) return false; comment out

 

And kinematic body should be set as "non-sleep" status for each frame while it is moving forcely.

 

This can fix the bug such that dynamic body continue to sleep even when kinematic body touches the sleeping dynamic body.

 

Thanks,

 

 

Please use plain text.

Re: Physics2D kinematic body not waking dynamic body.

Thank you for your report. We will investigate it.

Best regards,
James
PlayStation®Mobile Dev Team
Please use plain text.
Announcements

Welcome to the PlayStation Mobile Developer Forums


This is a community for the discussion of technical topics with other developers and SCE engineers. Posting ideas/requests are also appreciated. Join the discussion!

PlayStation®Mobile開発者フォーラムでは世界中の開発者の皆様と一緒に、議論や情報交換が可能です。SCEも議論に参加し、皆様の開発をサポートします。アイデアやリクエストも大歓迎です。ぜひご参加ください。

PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.

フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと PSM DevPortalを一度ログアウトし、再度ログインしてください。