Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Matasx  
#1 Posted : Wednesday, February 19, 2014 11:46:19 AM(UTC)
Matasx

Joined: 8/30/2013(UTC)
Posts: 43

Thanks: 11 times
Was thanked: 1 time(s) in 1 post(s)
Hi again,
I currently need to include some physics into my project and I just dont know how.
I've read this page https://www.deltaengine.net/features/physics but it wasnt really helpfull.
I'm using nuget packages and it seems to me, that there are no physics classes nor namespaces at all.
What should I do to make it work?

I have my own class derived from Sprite. How can I add some physics to it (I want to use farseer physics)?
E.g. I want this classes to bounce if one hits another using farseer physics, but in physics correct way - not just mirrored angle from surface normal.

If 1 hits 2, than it should bounce back, like if the car hits the wall.
If 1 hits 2, than it should bounce back, like if the car hits the wall.

Can anyone help, please? Smile

Wanna join the discussion?! Login to your forum accountregister a new account. Or Connect via Facebook Twitter Google

Offline Benjamin  
#2 Posted : Wednesday, February 19, 2014 4:03:25 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Physics2D and Physics2D.Farseer are part of the nightly releases, you should be able to use all of the classes provided there. Next week the 1.1 release is coming out and Physics will also be part of that. Hope this helps, if you have more specific questions, ask ahead.
Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2017, Yet Another Forum.NET
This page was generated in 0.035 seconds.