camera moved event (scripting)

Next
 From:  pressure (PEER)
11027.1 
I'd like to have a DistanceInput / NumericInput display the distance between the camera and target as I move the camera using the view controls, mouse, SpaceMouse, etc. Is there an event I can listen for that's fired when the camera moves? Also, what's the difference between DistanceInput and NumericInput?

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11027.2 In reply to 11027.1 
Hi Peer,

re:
> Is there an event I can listen for that's fired when the camera moves?

Sorry no there isn't.


> Also, what's the difference between DistanceInput and NumericInput?

DistanceInput is for things that are expressed in units, it will get a small unit system label after it and you can type in things like other units and it will convert.

NumericInput is for a floating point number that is not representing a distance, say like a scale factor or things like that.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  pressure (PEER)
11027.3 In reply to 11027.2 
Thanks for the super speedy explanation of these inputs Michael! It's pretty cool that DistanceInput displays units and handles conversion.

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All