view
			20 posts			 • Page 1 of 1		
	
Re: view
The deafaults are [0,0] for pan and 150 for zoom.
How to get the co-ordinates:
1- Go to the view you want
2- Add a box
3- Go to text in the scriptmenu
4- Type: "" + scene.camera.pan + "\n" + scene.camera.zoom
5- Now you have the co-ordinates on the box!
If you want the co-ordinates on the box change when you change the view, you have to put this code between {}
			How to get the co-ordinates:
1- Go to the view you want
2- Add a box
3- Go to text in the scriptmenu
4- Type: "" + scene.camera.pan + "\n" + scene.camera.zoom
5- Now you have the co-ordinates on the box!
If you want the co-ordinates on the box change when you change the view, you have to put this code between {}
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
- 
				

Matten - Posts: 435
 - Joined: Mon Apr 05, 2010 2:03 pm
 - Location: The Netherlands
 
Re: view
But it's easier to get it right in Algodoo
			Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
- 
				

Matten - Posts: 435
 - Joined: Mon Apr 05, 2010 2:03 pm
 - Location: The Netherlands
 
Re: view
Because if you forget the code, you have to load up your browser, find this topic, and copy/paste it in. Even if you remember the code, it's still a hassle. With the other way, you select the object, ctrl+c, open Notepad, ctrl+v, look for the position, and you're done. You don't even need a connection.
			TheWinkits wrote:They both looks of cuking amazing
- 
				

Chronos - [Most Active Member 2010]
 - Posts: 4457
 - Joined: Mon Aug 31, 2009 6:00 pm
 - Location: Californania
 
Re: view
Then it should be better that in the script menu you can see all the properties of an object, and that they can be changed. With this way you can easly make teleporters and size changers.
			Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
- 
				

Matten - Posts: 435
 - Joined: Mon Apr 05, 2010 2:03 pm
 - Location: The Netherlands
 
Re: view
Matten wrote:Then it should be better that in the script menu you can see all the properties of an object, and that they can be changed. With this way you can easly make teleporters and size changers.
I just said that
- 
				

Rideg - Posts: 948
 - Joined: Tue Dec 15, 2009 5:17 pm
 - Location: Östersund, Sweden
 
Re: view
No, you said that they have to be accessable. I said how that should be possible. 
			Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
- 
				

Matten - Posts: 435
 - Joined: Mon Apr 05, 2010 2:03 pm
 - Location: The Netherlands
 
Re: view
Maybe in the "Object properties" menu or something.
By the way it should be cool if you have access to all properties of an object, I hope this will come quik.
			By the way it should be cool if you have access to all properties of an object, I hope this will come quik.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
- 
				

Matten - Posts: 435
 - Joined: Mon Apr 05, 2010 2:03 pm
 - Location: The Netherlands
 
Re: view
Well, I reply, so how is it's done
BTW: I know how to use materialVelocity
			BTW: I know how to use materialVelocity
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
- 
				

Matten - Posts: 435
 - Joined: Mon Apr 05, 2010 2:03 pm
 - Location: The Netherlands
 
Re: view
Oh, I tought you meant how to give an object velocity. That can be done with materialVelocity.
			Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
- 
				

Matten - Posts: 435
 - Joined: Mon Apr 05, 2010 2:03 pm
 - Location: The Netherlands
 
			20 posts			 • Page 1 of 1		
	Who is online
Users browsing this forum: No registered users and 6 guests




