Search found 9 matches

by Bonus
Thu Sep 01, 2011 6:18 am
Forum: Questions and Help
Topic: Best way for 2D physics
Replies: 4
Views: 5105

Re: Best way for 2D physics

I mean a constraint that would work through the inertia tensor with caching and switching 2D-3D. Easy and fast tool that can be used even on the phone. Because I think that adding 2 constraints per entity on the phone is not a good idea.
Anyway thank you.
by Bonus
Wed Aug 31, 2011 5:55 pm
Forum: Questions and Help
Topic: Best way for 2D physics
Replies: 4
Views: 5105

Re: Best way for 2D physics

Perhaps you could make a new limit for the 2D physics as part of the engine?
I think this is a very common task for the games.
by Bonus
Wed Aug 31, 2011 7:03 am
Forum: Questions and Help
Topic: Best way for 2D physics
Replies: 4
Views: 5105

Best way for 2D physics

Which method is best for 2D physics? PointOnPlain? Two zero axises on InertiaTensor? Something else? What would better for windows phone 7? How to make a switchable 2D-3D modes for a single entity?
by Bonus
Sun May 29, 2011 4:41 pm
Forum: Questions and Help
Topic: Multithreaded RayCast Issue
Replies: 2
Views: 3733

Re: Multithreaded RayCast Issue

Norbo wrote:Is it running in parallel with the physics update?
yes
Norbo wrote:You can lock it before performing a raycast to ensure that it won't get corrupted.
Thanks! It's works.
by Bonus
Sun May 29, 2011 5:52 am
Forum: Questions and Help
Topic: Multithreaded RayCast Issue
Replies: 2
Views: 3733

Multithreaded RayCast Issue

I've developed miltithreaded game engine using BEPU. It's works fine, but sometimes BEPU crashes in "internal void RayCast(ref Ray ray, IList<BroadPhaseEntry> outEntries)" in DynamicHierarchyNode.cs with "Collection was modified; enumeration operation may not execute." RayCast ca...
by Bonus
Fri May 06, 2011 4:45 am
Forum: Questions and Help
Topic: How to re-use ConvexHullShape
Replies: 8
Views: 8366

Re: How to re-use ConvexHullShape

Thanks Norbo. Now it runs amazingly fast!
It would be nice to have a demo ready for this stuff.
by Bonus
Thu May 05, 2011 9:04 am
Forum: Questions and Help
Topic: How to re-use ConvexHullShape
Replies: 8
Views: 8366

How to re-use ConvexHullShape

I'm using Toolbox.GetConvexHull to create a list of ConvexHulls with the same list of vertices. But ConvexHull recalculate it again and creates new ConvexHullShape. How to re-use ConvexHullShape?
by Bonus
Tue Mar 22, 2011 6:46 pm
Forum: Questions and Help
Topic: AI and physics
Replies: 3
Views: 4174

Re: AI and physics

Looks great! Thanks! If it's okay for the objects be a little behind their goal position and orientation, you could consider using SingleEntity(Linear/Angular)Motor, or the helper classes EntityMover and EntityRotator. These can be used to 'target' a goal state to which the controlled entity will w...
by Bonus
Tue Mar 22, 2011 6:41 am
Forum: Questions and Help
Topic: AI and physics
Replies: 3
Views: 4174

AI and physics

Hi, Norbo I'm currently programming a space shooter. You can watch it here http://www.youtube.com/watch?v=Gjbu3f6Zngg I have a few questions: 1. Can I get rid of the inertia of motion and rotation? It is necessary for precise positioning of the AI. All I need is a couple of methods Move(Vector3 offs...