Search found 14 matches

by fakin
Thu Feb 22, 2007 1:44 pm
Forum: Beginners Help
Topic: Accessing CollisionResponseAnimator functions
Replies: 3
Views: 445

createCollisionResponseAnimator(selector, camera,
vector3df(30.0f, 60.0f, 30.0f), // ellipsoid radius
vector3df(0,-100,0), // now this is your gravity
vector3df(0.0f, 0.0f, 0.0f),0);

now if you want to change it in real-time i suggest you declare vector3df gravity = vector3df(0.0f, -1.0f, 0.0f ...
by fakin
Wed Feb 21, 2007 1:27 am
Forum: Open Discussion and Dev Announcements
Topic: IrrEdit and friends - Big Waste of Niko's and friends' time
Replies: 110
Views: 19539

Well, i decided.. I'm switching to Ogre. Irr's future as good game renderigng engine is very uncertain. I'm workin' on serious project, and i need serious engine. It is needed to fix elemental negletcts, like light limitantion (light0 ... light7), improve built-in shaders (shading is most important ...
by fakin
Wed Feb 21, 2007 12:47 am
Forum: Beginners Help
Topic: Two meshes, one collision.
Replies: 3
Views: 413

I'm not sure but i think you need to add collisionResponseAnimator to the camera twice. once for obj1 and once for obj2.


so... add this ...

scene::ICameraSceneNode* camera =
smgr->addCameraSceneNodeFPS(0, 100.0f, 300.0f, -1, 0,

0, true);
camera->setPosition(core::vector3df(-100,50,-150 ...
by fakin
Tue Feb 20, 2007 9:33 am
Forum: Advanced Help
Topic: 2D to 3D coordinates
Replies: 5
Views: 876

this is very nice and helpful rogerborg. thanks.
by fakin
Tue Feb 20, 2007 5:30 am
Forum: Beginners Help
Topic: Question about namespaces
Replies: 7
Views: 403

well, using all namespaces may slow down your compilation time...
by fakin
Tue Feb 20, 2007 5:13 am
Forum: Beginners Help
Topic: Slowing down movement
Replies: 5
Views: 633

you can use
ISceneManager->createFlyStraightAnimator(start, end, time_for_way, loop)
... this way you can calculate time needed needed for char to cross the path by the constant V;

for example... if char speed is 20, you calculate distance between two points, and then divide it by constant speed ...
by fakin
Tue Feb 20, 2007 1:56 am
Forum: Beginners Help
Topic: (Get angle between 2 Vectors, ...) [solved] tnx everyone
Replies: 0
Views: 213

(Get angle between 2 Vectors, ...) [solved] tnx everyone

OK, here's the problem.

I have a character. he is looking at some direction. now, when i click somewhere on the map i want it to rotate to that point and move there.
move part is OK, but i can get him to rotate it to look at that point. Knowing that angle between two 3D vectors is acos of dot ...
by fakin
Mon Feb 19, 2007 5:26 am
Forum: Advanced Help
Topic: 2D to 3D coordinates
Replies: 5
Views: 876

2D to 3D coordinates

hi.

is there a build-in function in IrrLicht that converts 2D screen coordinates to 3D coordinates. or if not could anyone give me some directions on how to do it. I've google it and $%@# but no luck.

thanks.
by fakin
Mon Feb 19, 2007 2:51 am
Forum: Beginners Help
Topic: Locking FPS
Replies: 10
Views: 727

it must compile, device must be of irr::IrrlichtDevice type, you have it at the beginning of code, and everywhere it says videoDevice replace with device and I don't see why it shouldn't compile. I guess you defined new variable named 'videoDevice' of irr::IrrlichtDevice type but you haven't ...
by fakin
Mon Feb 19, 2007 2:39 am
Forum: Beginners Help
Topic: Locking FPS
Replies: 10
Views: 727

well, where it says videoDevice you should replace with device in your case seems to me :|
by fakin
Mon Feb 19, 2007 2:29 am
Forum: Beginners Help
Topic: Locking FPS
Replies: 10
Views: 727

videoDevice in that example is of irr::IrrlichtDevice type not irr::IVideoDriver :|
by fakin
Mon Feb 19, 2007 2:06 am
Forum: Beginners Help
Topic: Locking FPS
Replies: 10
Views: 727

by fakin
Mon Feb 19, 2007 12:35 am
Forum: Beginners Help
Topic: Rotating camera
Replies: 4
Views: 554

well i thought it's a simple question... anyway...

assume there's a box at the center of the screen.
also assume there's a camera looking at that box from some distance. now, what I want is when I press, for example 'KEY_KEY_N' that camera to rotate around the box at the same distance, which mean ...
by fakin
Sun Feb 18, 2007 9:31 pm
Forum: Beginners Help
Topic: Rotating camera
Replies: 4
Views: 554

Rotating camera

hi.

i know there's a lot of post on this probably but i haven't been able to find it among all those, so if anyone can help on this particular problem...

i want to rotate the camera around a point [let's assume it's a box] but not by attaching point as the camera parent and then rotating the point ...