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.

Author
Message
dbellis
23
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 24th Mar 2003 14:17
any one see why this code wouldnt work all i want it to do is
create the object when space is pressed and position it at
the mouse pointers position...



Damian
http://www.eclipsedevelopment.co.uk/
Succession The Betrayal Developer
Dave J
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 24th Mar 2003 14:32
For a start, MouseZ is your Mouse Wheel so that could mess things up big time.

Quote: "Dim noofentsneeded(100)"


I don't use DBPro, but wouldn't this create an array with 100 elements? So something like "noofentsneeded = 100" would be right. (Correct me if I'm wrong)

Oh, and it won't work exactly, in 3D Space 0,0,0 is the very center of the screen whereas 0,0 in 2D is the top left so you'd need a lot of working around. Apart from those things, you'd also be making 100 cubes, I'm not sure if you want that so now you know.

"Computers are useless they can only give you answers."
dbellis
23
Years of Service
User Offline
Joined: 4th Sep 2002
Location: United Kingdom
Posted: 24th Mar 2003 16:32
yea it makes 100 cubes for a reason as im just experimenting with some
things the array is correct im thinking of changeing the mouse pointer for an object so i can select objects and move them about with the mouse
but... it doesnt work in DBPro like it used to in DBC.

But i think i now wot i did rong as i it only creates 1 i.e. the "noofentsneeded" bit damn how sily am i....


noofentsneeded = 1


doh!!!!!!!!


Damian

http://www.eclipsedevelopment.co.uk/
Succession The Betrayal Developer

Login to post a reply

Server time is: 2026-07-10 13:43:29
Your offset time is: 2026-07-10 13:43:29