Search found 11 matches

by drjaydenm
Fri Jan 06, 2012 10:30 am
Forum: Questions and Help
Topic: Offsetting position from center
Replies: 1
Views: 3764

Offsetting position from center

Hi Norbo, BEPU Physics has been working nicely with my engine so far, good work on making it so stable and flexible :). I have only come across one problem so far. The position for the box entity is in the center of the box. I am trying to make a model of a box align with the physics entity and it h...
by drjaydenm
Mon Jun 27, 2011 10:15 pm
Forum: Questions and Help
Topic: Weird MobileMesh Issue
Replies: 8
Views: 5557

Re: Weird MobileMesh Issue

Thanks for the really detailed explanation, it really helps to understand, big companies should aspire to provide tour level of support :D The 0.04 does sound right but the does not matter as if you don't have debug drawing on, you will not notice it.
by drjaydenm
Mon Jun 27, 2011 4:53 am
Forum: Questions and Help
Topic: Weird MobileMesh Issue
Replies: 8
Views: 5557

Re: Weird MobileMesh Issue

To properly align the model with the mobile mesh, i had to retrieve the affine transform for the mobile mesh and then apply that to the world transform of my model which made it finally properly align. This is still slightly offset by tiny amounts (like 2mm) due to float rounding I think. This is th...
by drjaydenm
Mon Jun 27, 2011 1:51 am
Forum: Questions and Help
Topic: Weird MobileMesh Issue
Replies: 8
Views: 5557

Re: Weird MobileMesh Issue

Sorry to bother you again but what code would you use to gain access to the center of mass offset from the original center position?
by drjaydenm
Mon Jun 27, 2011 12:43 am
Forum: Questions and Help
Topic: Weird MobileMesh Issue
Replies: 8
Views: 5557

Re: Weird MobileMesh Issue

I played around with the entity sent to the model drawer and it is now displaying the collision mesh correctly :) But now to fix the other half of the problem. How can I accurately change the center of mass to match that of the center of my model? Thanks
by drjaydenm
Sun Jun 26, 2011 2:06 pm
Forum: Questions and Help
Topic: Weird MobileMesh Issue
Replies: 8
Views: 5557

Weird MobileMesh Issue

Hi again Norbo, I have gotten around to using the MobileMesh as my terrain as its better suited my engine to use all entities. When I create the mobile mesh, the whole mesh seems to be about 10 units or so down the Y axis and a few units on the X and Z axis. The weird thing is that the mesh will col...
by drjaydenm
Wed Jun 22, 2011 11:12 am
Forum: Questions and Help
Topic: Staticmesh and Entities
Replies: 8
Views: 6912

Re: Staticmesh and Entities

Ok never mind, I figured out how to rotate it using a rotation matrix and setting the orientation to that matrix, works well :) Is there any planes that are Entities in BEPU? Because at the moment I am using a thin box and it is producing some weird results when pushed onto other objects such as the...
by drjaydenm
Wed Jun 22, 2011 9:06 am
Forum: Questions and Help
Topic: Staticmesh and Entities
Replies: 8
Views: 6912

Re: Staticmesh and Entities

On a sidenote, how would you rotate an Entity on or after creation? Im guessing you would edit the world transform of the entity? But then what does the Orientation matrix of the entity do? Thanks
by drjaydenm
Tue Jun 21, 2011 10:47 pm
Forum: Questions and Help
Topic: Staticmesh and Entities
Replies: 8
Views: 6912

Re: Staticmesh and Entities

After working with BEPU for a while now, can't believe I missed that mass overload as I had this issue when I first started hahaha, I swear the overload didn't show up :oops: I think for simplicities sake and not having to redesign my whole physics engine framework, that I will just use the MobileMe...
by drjaydenm
Tue Jun 21, 2011 9:16 pm
Forum: Questions and Help
Topic: Staticmesh and Entities
Replies: 8
Views: 6912

Re: Staticmesh and Entities

Thanks for your reply I tried using the ISpaceObject as you mentioned and it did not provide any Entity information that I need such as position etc.(which is like you also said). I then downloaded the newest development version and tried the MobileMesh and things are colliding with it but it stays ...
by drjaydenm
Tue Jun 21, 2011 9:05 am
Forum: Questions and Help
Topic: Staticmesh and Entities
Replies: 8
Views: 6912

Staticmesh and Entities

Hi Norbo I am working on an engine for a game I wish to develop. I have been using BEPU for a few months now and it is working very well for handling the physics :D It is only now that I am trying to create an engine using an Interface for all physics objects like a Box, Sphere, Capsule etc, that I ...