Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Aligning an object to a matrix...

Author
Message
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 23rd Dec 2003 05:02
Hello!

In my tank game, I create "holes" when a bullet hits the ground, sort like Counter-Strike when you use HE Grenades. Well, I can align my tank to the matrix, but I can't align the "hole"!. By the way I'm using a bit of code of the Limit Rush tutorial (a very good tutorial and game indeed!! ) to align my tank....¿why it doesn't work for my "hole" object?

Oh!, and..I've learned to use the Code Snippet button!!! hahaha
Well, here's my "hole creation" function:



For some reason it doesn't rotate the object correctly..¿what's going on?

Bye, thanks in advance

I'm a newbie
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 24th Dec 2003 18:36
Administrator please close this post, because my problem has been resolved (messing around and reading tutorials...)

Anyway thanks

I'm a newbie
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 24th Dec 2003 19:23
the hole that the program made isn't a matrix so it cant get the ground height of the hole.

if I = 1 then I = 1 else I = 0
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 25th Dec 2003 04:54
Is your Q. solved or did Jopie open something else up for you. Still want the post locked?


Dont forget to Join the Forums!
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 26th Dec 2003 19:40
well...a tutorial of the Limit Rush game and a friend helped me, so my question is solved.

Jopie Dopie, well...I've having trouble getting the "matrix tile" where my object is so I've decided to make things simple by just putting a hole graph in the ground, of course isn't very realistic but it's better than having the bullet exploding and leaving the terrain intact ...

well, yeah...until I need to know how I find the "matrix tile". For now my problem is solved, thanks

I'm a newbie

Login to post a reply

Server time is: 2025-05-22 05:52:26
Your offset time is: 2025-05-22 05:52:26