Search found 89 matches
- Sat Mar 03, 2007 12:39 am
- Forum: Beginners Help
- Topic: Mouse Picking
- Replies: 2
- Views: 398
Here's an example, core::position2d<s32> mouse_pos=Device->getCursorControl()->getPosition(); core::line3df line=Device->getSceneManager()->getSceneCollisionManager()->getRayFromScreenCoordinates(mouse_pos, Device->getSceneManager()->getActiveCamera()); IsceneNode* object=smgr->getSceneCollisionMana...
- Fri Mar 02, 2007 10:37 pm
- Forum: Beginners Help
- Topic: Cant get a weapon to show up on the camera
- Replies: 5
- Views: 860
try just 0,0,10 that should be right in front of you
10, 15, 1 might just be above and to the side of your view
You can do all this in one line
10, 15, 1 might just be above and to the side of your view
You can do all this in one line
Code: Select all
scenemgr->addCubeSceneNode(5, c, -1, core::vector3df(0,0,10));
- Fri Mar 02, 2007 7:20 pm
- Forum: Beginners Help
- Topic: Cant get a weapon to show up on the camera
- Replies: 5
- Views: 860
- Fri Mar 02, 2007 5:07 am
- Forum: Beginners Help
- Topic: Updating the TransformedBoundingBox without a render
- Replies: 1
- Views: 290
- Thu Mar 01, 2007 11:59 pm
- Forum: Beginners Help
- Topic: Get Absolute Position of a vertex
- Replies: 6
- Views: 370
- Thu Mar 01, 2007 11:17 pm
- Forum: Beginners Help
- Topic: Get Absolute Position of a vertex
- Replies: 6
- Views: 370
Maybe I found a bug...
If I change
to
it works;
If I change
Code: Select all
M.transformVect(pos, pos);
Code: Select all
M.transformVect(pos);
- Thu Mar 01, 2007 11:15 pm
- Forum: Beginners Help
- Topic: Get Absolute Position of a vertex
- Replies: 6
- Views: 370
- Thu Mar 01, 2007 10:42 pm
- Forum: Beginners Help
- Topic: Set the node to face a distant vector
- Replies: 3
- Views: 243
Code: Select all
core::vector3df direction = turret->getPosition() - Obj2Face->getPosition();
turret->setRotation(direction.getHorizontalAngle());
- Thu Mar 01, 2007 10:18 pm
- Forum: Beginners Help
- Topic: Get Absolute Position of a vertex
- Replies: 6
- Views: 370
Get Absolute Position of a vertex
How can I get the Absolute Position of a vertex? I can get the vertex position from the mesh and then I try to apply the absolutetransfor from the node but that doesn't quite work right. That seems to just add the nodes position to the vertex's and not take into affect the rotation of the node. Any ...
- Thu Mar 01, 2007 7:34 pm
- Forum: Code Snippets
- Topic: New Rotate Animator
- Replies: 2
- Views: 1894
hmm well, as long as you constantly follow your target then you could just update it every frame like this:
Code: Select all
core::vector3df direction = turret->getPosition() - ship->getPosition();
turret->setRotation(direction.getHorizontalAngle());
- Thu Feb 22, 2007 11:00 pm
- Forum: Code Snippets
- Topic: New Rotate Animator
- Replies: 2
- Views: 1894
New Rotate Animator
For one of my projects I made a new rotate animator that rotates a node from a to b over a set time. It's based off the flystraight animator.There is also a bool for repeat where it starts going back and forth from a and b. Works well for the camera in fly bys or whatever else. We are using it to an...
- Fri Feb 09, 2007 10:53 pm
- Forum: Beginners Help
- Topic: not working
- Replies: 1
- Views: 146
your not moving because it's probibly round down. Replace
with
Code: Select all
int move (IAnimatedMeshSceneNode * a,int x,int y,int z)
Code: Select all
int move (IAnimatedMeshSceneNode * a,f32 x,f32 y,f32 z)
- Thu Feb 08, 2007 2:03 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: my3d plugins for 3ds max v8 or v9
- Replies: 5
- Views: 2238
- Thu Feb 08, 2007 1:18 am
- Forum: Off-topic
- Topic: youTube removed example 5 video because of copyright...
- Replies: 38
- Views: 40729
I realize that's the jest of it but I'm looking for any small details etc. I have just finished taking a class on digital law and this is just the kind of problems I have been looking at. It's a problem in the DMCA where it favors the larger corporations and not the little guys. Whatever happened to...
- Wed Feb 07, 2007 11:39 pm
- Forum: Off-topic
- Topic: youTube removed example 5 video because of copyright...
- Replies: 38
- Views: 40729