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 Professional Discussion / Bug with Move Object

Author
Message
Kjelle
21
Years of Service
User Offline
Joined: 29th Sep 2002
Location:
Posted: 1st Nov 2002 04:35
Tried to make a simple cube rotate it to face different directions and move it in 3d space.
It does not move where it is facing.


make object cube 5,3
position camera 0,0,-10

repeat
if upkey() then move object 5,1
if downkey() then move object 5,-1
if leftkey() then turn object left 5,1
if rightkey() then turn object right 5,1
until mouseclick()=1
end
Rodro
21
Years of Service
User Offline
Joined: 17th Sep 2002
Location:
Posted: 1st Nov 2002 04:49
Find a work around and stop complaining.

(normal forum response)

Hey!! You talking to me?
The Masked Coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location:
Posted: 1st Nov 2002 09:34
Your absolutely right Kjelle.

This to me, is an enormous error, and is one that DBS claims patch 2 fixes.

Ignore Rodo, that sort of comment doesn't help anyone.

You shouldn't have to create a work around for a basic command set that is fundamental to the language. Especially if youve bought pro.

All i can suggest is, wait for patch 3, you never know, they might actually get around to fixing it.



Ratty Rat
21
Years of Service
User Offline
Joined: 24th Sep 2002
Location:
Posted: 1st Nov 2002 11:11
I realise its not funny if you need it to work, but that little bit of code is hilarious!

The way it whizzes around in circles when it should be going straight is superb.

Seriously though I agree totally, I have been trying to convert my 3D breakout game from DB since DBPro came out. I have spent hours creating work arounds for all the bugs and it still won`t work right.

I am a big fan of all things DarkBasic but I could not recommend DBPro to anyone until:
A) The Bugs are Fixed
B) The manual is improved (it could at least tell us the range used in the commands, is it a factor, percentage, degrees, radians, come on let us know!)
C) There are some better Examples.
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Nov 2002 11:21
I used a slightly more advanced setup for core patrol

There was a german guy who posted a battle fight script
this is the cut down version I have

You may find this an alternative to a raw setup like u have there.





indi is part of Team Lunarpixel
multimedia logisitics and interactive media
Kjelle
21
Years of Service
User Offline
Joined: 29th Sep 2002
Location:
Posted: 2nd Nov 2002 22:58
I only used the simple code to demonstrate the bug with move object, but thanks for the impressive and simple alterntive code snippet !
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 3rd Nov 2002 10:49
cheers

indi is part of Team Lunarpixel
multimedia logisitics and interactive media
Kjelle
21
Years of Service
User Offline
Joined: 29th Sep 2002
Location:
Posted: 8th Nov 2002 00:23
Uhm, this is going to be fixed in next patch right ?
indi
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 8th Nov 2002 03:44
ya it should be if someone has added it to the bug list or emailed the boys

indi is part of Team Lunarpixel
multimedia logisitics and interactive media
Muddleglum
21
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: New Zealand
Posted: 9th Nov 2002 23:48
I am guessing it is do do with the way the free flight commands were corrected to take degrees instead of radians?
It is not only 'move', but setting orientation to an object that uses a free flight turn, that goes astray .. (badly), somewhere in the code one suspects radians are still being refered to ???

The free flight commands them selves work on the camera but NOT an object. At least they work a diffent way on the object .. on the demo version i just downloaded 2 days ago anyway

denki
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 10th Nov 2002 00:49
Turn object left/right sucks, this works -



denki
Kousen DPB RPG latest - Working on editors!
denki
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 10th Nov 2002 00:50
But I suppose it depends on what you need it for...

denki
Kousen DPB RPG latest - Working on editors!
The Darthster
21
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 10th Nov 2002 00:51
If you think radians are still being referred to, try multiplying the angle by 180/pi and seeing if that will fix it. Except the orient commands don't take an angle... Try doing it manually.

Login to post a reply

Server time is: 2024-04-20 08:42:39
Your offset time is: 2024-04-20 08:42:39