Ghost vertices Implementation in dyn4j?

Posts regarding potential bugs, enhancement requests, and general feedback on use of dyn4j
maheshkurmi
Posts: 60
Joined: Tue Mar 27, 2012 7:20 am
Location: India
Contact:

Re: Ghost vertices Implementation in dyn4j?

Postby maheshkurmi » Tue May 31, 2016 2:22 am

Nice to see some progress!!
Actually I was busy due to my student's exam, so couldn't look at this. Would you please share how did you do this.
One more thing can you please let me know how do you record videos for sandbox, using some screen recorder or a handicam? I need it it make tutorials for physics simulator.

William
Site Admin
Posts: 351
Joined: Sat Feb 06, 2010 10:23 pm

Re: Ghost vertices Implementation in dyn4j?

Postby William » Tue May 31, 2016 6:53 pm

This is what I'm doing: GDC 10 Erwin Coumans Contact slides 46-54.

In dyn4j it's a post narrow-phase collision process that uses the connectivity information to make sure the penetration normal is within a valid region. The connectivity information is stored in a new shape called a Link which extends Segment.

See here for the implementation.

I've recorded using a number of different tools. I used Microsoft Expression Encoder for these videos and CamStudio in the past.

Thanks,
William

maheshkurmi
Posts: 60
Joined: Tue Mar 27, 2012 7:20 am
Location: India
Contact:

Re: Ghost vertices Implementation in dyn4j?

Postby maheshkurmi » Tue May 31, 2016 9:32 pm

Thanks for sharing.. I will have a look tonight.

maheshkurmi
Posts: 60
Joined: Tue Mar 27, 2012 7:20 am
Location: India
Contact:

Re: Ghost vertices Implementation in dyn4j?

Postby maheshkurmi » Wed Jun 22, 2016 5:20 am

Is there something different in this release 3.2.2 from previous update that u shared in previous post. For me everything was working fine except few sudden but occassional Jerks. If you have changed/fixed something let me know, I will test it again to see if problem is actually resolved.
Thanks

William
Site Admin
Posts: 351
Joined: Sat Feb 06, 2010 10:23 pm

Re: Ghost vertices Implementation in dyn4j?

Postby William » Wed Jun 22, 2016 12:24 pm

Yeah, there were a few changes that may effect the results. Hopefully no more jerks, can you test with 3.2.2?

Thanks,
William

maheshkurmi
Posts: 60
Joined: Tue Mar 27, 2012 7:20 am
Location: India
Contact:

Re: Ghost vertices Implementation in dyn4j?

Postby maheshkurmi » Wed Jun 22, 2016 2:42 pm

I will test tomorrow and send feedback

maheshkurmi
Posts: 60
Joined: Tue Mar 27, 2012 7:20 am
Location: India
Contact:

Re: Ghost vertices Implementation in dyn4j?

Postby maheshkurmi » Thu Jun 23, 2016 4:46 am

Hi Willam,
I went through few tests for the new Link Shape and the results are extremely satisfactory. Actually this is exactly what I did, when I tried implementing edge shape (except one bug in my implementation that was measure cause of jerk). I couldn't create any jerk condition so far using 3.2.2 version, I will let you know if I get any. I also recorded video showing link-shape in action https://youtu.be/dHFYRymbtKM.
BTW thanks for suggesting Microsoft encoder-4, which fulfills all my needs.


Return to “Bugs, Enhancements, Feedback”

Who is online

Users browsing this forum: No registered users and 1 guest