Hello,
I just downloaded the demo version, as the full version is being shipped this week. I was playing with the robot in the skybox example, and have run into a small problem. Well, a few.
1. I want the camera to be located at the robots head, which I've done with CameraLocate(x,x,x,x). But I want it to be locked to this position on the robot, if the robot moves forward, the camera moves, so forth...
2. Right now, when I move the mouse, the camera rotates with the mouse. I would like to make the robot move in the direction the camera is facing, as well as rotate to face that direction on the X axis.
Again, I'm new to this software, I was using darkbasic awhile ago and stopped working with it, but with darkbasic, it was pretty simple to lock the camera to the mesh.
Thanks,
Kenneth Craft
Camera and Mesh Questions (I'm new)
Day 4
Ok, now. I've been messing with this for a few days now, and I've come to realize I really do need Win32 API support that the Demo does not give me. Alot of the examples and other source code look like they require it.
I Did however get the rotation working with the robot, now the robot faces the same direction as the camera, and rotates on its X axis. Good.
I can't seem to figure out how to get the camera, and the robot to move together. If I set both MoveCamera, and MoveMesh to (0,10,0,0) it seems like they work until I start moving the mouse up and down. When that happens, they get out of sink with each other and I end up staring at the back of the robot.
My Source is at the following link:
<a href="http://www.kennethcraft.com/designs/pb/ ... thebot.zip </a>
Thanks

I Did however get the rotation working with the robot, now the robot faces the same direction as the camera, and rotates on its X axis. Good.
I can't seem to figure out how to get the camera, and the robot to move together. If I set both MoveCamera, and MoveMesh to (0,10,0,0) it seems like they work until I start moving the mouse up and down. When that happens, they get out of sink with each other and I end up staring at the back of the robot.
My Source is at the following link:
<a href="http://www.kennethcraft.com/designs/pb/ ... thebot.zip </a>
Thanks
-
- New User
- Posts: 3
- Joined: Mon Jul 14, 2003 7:52 pm
awsner???
Dude you replied to your self
hahahaha

hmm
Erm, it was an update for anyone who would like to help me out. I've noticed there have been alot of views, but no replies, so I thought If I put something on here that people could see and work with, maybe I would get some replies...
Re: awsner???
Not so nice answer for your first post...crymeariver wrote:Dude you replied to your selfhahahaha
Re: hmm
i would like to help you, but cannot(no exercise in 3d) .kcraft wrote:Erm, it was an update for anyone who would like to help me out. I've noticed there have been alot of views, but no replies, so I thought If I put something on here that people could see and work with, maybe I would get some replies...
There are some 3d guys on this forum(or the german one) and they will help you (i think we have holidays now)
Keep on working

and @'cry me a river' :
hey dude, you have done 1 cheap post.only this b*sh*t .
go on post something usefully.
SPAMINATOR NR.1
Hiya, what demo version are you using? i have just downloaded your source and noticed that many of the 'experimental' 3d commands have now been replaced with better thought out versions. download the new v3.72 demo and have another go at your code, then i will take a longer look, many of us have upgraded and can not run and ammend your source as it is. 

Interesting
I have version 3.62, I downloaded that from the site, Friday... Interesting. Ok, I have my second guy installing it and running through it now. when I get home I'll take a look at the new stuff. hopefully that will solve my issues.
Thanks alot!
Thanks alot!
- Andre
- PureBasic Team
- Posts: 2138
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
New demoversion v3.72 is out since today.... www.purebasic.comI have version 3.62, I downloaded that from the site, Friday...
-
- New User
- Posts: 3
- Joined: Mon Jul 14, 2003 7:52 pm
to all who didnt like my joke
i was just kidding
learn to take a joke ya bunch of sissys
