Search found 4 matches

by hunx
Mon Aug 25, 2014 7:59 am
Forum: Questions and Help
Topic: draw a textured model
Replies: 1
Views: 3169

draw a textured model

i know bepu just works with the physics of the models and i need to add the model textures by the common way(something like this ) but i can't merge it with the bepu model draw logic Vector3[] staticTriangleVertices; int[] staticTriangleIndices; Model model = game.Content.Load<Model>("mymodel&q...
by hunx
Sat Aug 23, 2014 1:11 am
Forum: Questions and Help
Topic: Rotation and Position question
Replies: 3
Views: 4220

Re: Rotation and Position question

i recently download the demo in the main page on codeplex and this is exactly what i want to do, a first person camera museum for my final project in the university, then i have another question how do you do the collision between the camera and the objects in the space? there are something like &qu...
by hunx
Fri Aug 22, 2014 2:28 pm
Forum: Questions and Help
Topic: Rotation and Position question
Replies: 3
Views: 4220

Rotation and Position question

i have a question with the position of one object when you rotate it for example when you use the space.Entities[1].Position.X thing, the object moves in the X axis, this is ok but if i rotate for example my object with the .AngularVelocity the object rotate in the axis, but i dont know how indicate...
by hunx
Fri Aug 22, 2014 1:56 pm
Forum: Questions and Help
Topic: Simple rotation.
Replies: 2
Views: 4277

Re: Simple rotation.

omg norbo thanks the angularvelocity works fine i used something like this to test how it works and the object make just what i want(rotate) if (KeyboardState.IsKeyDown(Keys.F)) xfloat = 1f; else if (KeyboardState.IsKeyDown(Keys.H)) xfloat = -1f; else xfloat = 0; space.Entities[1].AngularVelocity = ...