Welcome, Guest. Please login or register.

Author Topic: Trigonometry Question  (Read 3866 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Trigonometry Question
« on: May 26, 2008, 02:23:17 PM »
Quote

Nick wrote:
This is getting annoying now. Basically I'm making a 3D space game. I'm new to 3D programming. I want to make my spacecraft be able to rotate on all axis (which is simple) and be able to fire thrusters in any direction (on all axis). Its this problem which is halting my project. I've got it to partially work, but it just won't go in the direction the thrusters are facing. Do you have any thoughts? You seem better at maths than me! Once I've got my head around this I'll be happy!

Nick


This sounds like you haven't got your plan sorted out...

Are you able to give more details about the the 3D engine you are using?

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Trigonometry Question
« Reply #1 on: May 26, 2008, 03:11:42 PM »
Quote

Nick wrote:
I had planned it (this part of it), but as I'm only learning it didn't work. This is basically a test version of the game. Once I've got this figured out I'm planing on starting from scratch, using the knowledge gained to start properly. I'm using DarkBASIC. Its not bad actually. I'm impressed at how easy it is to get stuff working....unless it's complicated maths. Theres not much you can do about that!


I get it, this is the exploratory run... Ok... but I'm still keen to know more about your 3D engine...

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Trigonometry Question
« Reply #2 on: May 26, 2008, 03:37:08 PM »
Quote

Nick wrote:
The 3D engine is at http://darkbasicpro.thegamecreators.com/


Hmmm... doesn't that provide a set of functions for keeping track of your objects and thair properties... is DarkBASIC object oriented?

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Trigonometry Question
« Reply #3 on: May 26, 2008, 04:11:52 PM »
Quote

Nick wrote:
No its not object orientated. Its just like BASIC except simple commands load and move objects around etc. It can keep track of objects. The move commands I have (you can get extra plugins) won't do exactly what I want, so I'm trying to get around them. Its an easy programming language. Within my second day of using it I had made a simple 3D landscape using a displacement map (which was grabbed from a small bitmap I made). A simple 3D object was driveable with the camera following it. It also drove over the landscape properly, well except I didn't even start the problem of it not rolling on the hills, it only pitched up n down. It was a good start I think. No help was needed on that one! Its just this mathematical problem has got me. I've been wanting to make this game for like 10 years! :-)


It's seems quite good... have you tried Blitz3D/BlitzMAX... they are object oriented and I found them pretty easy to get a 3D game together in no time at all... I'll have a look at Dark basic and see how it compares...

Anyway... if you are doing FP then it can be easier to actually update the landscape objects an keep the camera static....