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.

Newcomers DBPro Corner / Probably a really dumb question!

Author
Message
DarkElite
16
Years of Service
User Offline
Joined: 27th Sep 2002
Location:
Posted: 28th Sep 2002 03:26
I am having a problem with my object leaving trails when rotating or moving. The problem is only occurring for loaded objects, not simple created objects.

The following code produces the trails... where ast_01.x is one of the supplied objects.

--------------------------------------------
sync on
sync rate 100
backdrop off

load object "media\models\ast_01.x",1

do
yrotate object 1, object angle y(1) + 0.1
sync
loop


Please can anyone help!
indi
16
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 28th Sep 2002 05:00
sync on
sync rate 100

rem You set the back drop off and this is your error
rem backdrop off

rem load object "media\models\ast_01.x",1
make object cube 1,10
do
yrotate object 1, object angle y(1) + 1.1
sync
loop

http://66.227.61.75/indi/
TheCyborg
16
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 15th Oct 2002 23:58
Also it's a good idea to the command CLS just after the DO command.
CLS clears the screen and removes any "trails".

"It's good to be bad..."
Dungeon Keeper
QuothTheRaven
16
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 16th Oct 2002 02:54
You need a wrapvalue on the rotate cause it'll go over 360
indi
16
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 16th Oct 2002 11:58
sorry quoth but run that in DBP b4 suggesting it

http://www.lunarpixel.com/ is my new site

Login to post a reply

Server time is: 2019-04-21 18:23:17
Your offset time is: 2019-04-21 18:23:17