Append Stiff Viewport (SOLVED)
27 October 2016 18:00
This is exactly what I'm looking for, for a 2d game ;)
Attach the object to the camera using a stiff vieport constraint, so the child object will preserve its orientation in the camera viewport. This constraint is used to create onscreen 2D/3D user interfaces.
append_stiff_viewport(obj, camobj, positioning)
But how do I create this object?
StiffViewportPositioning
left Number
right Number
top Number
bottom Number
distance Number
etc.
etc.
could someone provide an example?
Thanks
Mike
Attach the object to the camera using a stiff vieport constraint, so the child object will preserve its orientation in the camera viewport. This constraint is used to create onscreen 2D/3D user interfaces.
append_stiff_viewport(obj, camobj, positioning)
But how do I create this object?
StiffViewportPositioning
left Number
right Number
top Number
bottom Number
distance Number
etc.
etc.
could someone provide an example?
Thanks
Mike
02 November 2016 20:56