Transform Gizmo + Play Animation

Transform Gizmo + Play Animation

dg3duy
Collaborator Collaborator
776 Views
8 Replies
Message 1 of 9

Transform Gizmo + Play Animation

dg3duy
Collaborator
Collaborator

Hello!
There is a possibility to slide the trackbar and see at the same time the transformation gizmos that are currently selected on the object.
Let's say, if I have selected the rotation or move option and when executing the animation in the viewport I can see the transformation gizmo that I have selected either move or rotate during the playback of the animation on the screen.
Thank you.

0 Likes
777 Views
8 Replies
Replies (8)
Message 2 of 9

dg3duy
Collaborator
Collaborator

coordinates.gif

FN AnimationDataTo_ExPose =
(
	
	Set AniMate On
	AnimRange = AnimationRange.end As String
	int_AnimRange = AnimRange As Integer
	for i in selection do
	(
		Expose = ExposeTM Size:7 Cross:off AxisTripod:on
		Expose.parent = undefined 
		for j=0 to int_AnimRange do
		(
			SliderTime = j
			Expose.transform = i.transform
			--Expose.parent = i.parent
			Expose.name = i.name + "_expose"
			Expose.exposeNode = i.parent 
		)
	)
)

FN Adoption_animData =
(
	AnimRange = AnimationRange.end As String
	int_AnimRange = AnimRange As Integer
	Set Animate On
	for i in selection do
	(
		ExposeTMs = GetNodeByName (i.name as string + "_expose")
		for j=0 to int_AnimRange do
		(
			SliderTime = j
			i.transform = ExposeTMs.transform 
		)
	)
)

Try(DestroyDialog AniAdopt) Catch()

Rollout AniAdopt "Animation Adopter"
(
	Button btn_makeExTM "Make Expose TM" across:2
	Button btn_setEXTM "Set Expose TM"
	
	on btn_makeExTM pressed do
	(
		AnimationDataTo_ExPose()
	)
	on btn_setEXTM pressed  do 
	(
		Adoption_animData()
	)
	
)CreateDialog AniAdopt 250 30

it is something very similar to this what I am looking for, ideally it should be active or not during the scrolling of the timeline by the user.
 

0 Likes
Message 3 of 9

denisT.MaxDoctor
Advisor
Advisor

if you want to play the animation showing the transform gizmo, it's not as easy as:

for t = animationrange.start to animationrange.end while (not keyboard.escpressed) do (slidertime = t)

?

Message 4 of 9

dg3duy
Collaborator
Collaborator
Exactly, it is as simple as you indicated. 🙂 thank you very much
And if you are an animator you have to slow down the animation and be able to scrub the time slider right or left.?
0 Likes
Message 5 of 9

denisT.MaxDoctor
Advisor
Advisor

@dg3duy wrote:

And if you are an animator you have to slow down the animation and be able to scrub the time slider right or left.?

why do you need to see the gizmo? possible solution may depend on the answer to this question 

0 Likes
Message 6 of 9

dg3duy
Collaborator
Collaborator

It is to perceive sudden changes.
You can perceive an abrupt change in the rotation if you use the keyboard shortcut to go one frame forward or backward.
In play it is very difficult to perceive where you have to adjust the animation to make it smoother. For that it is necessary to work the curves in the trackview, the idea is to be able to see the fast or slow changes of the objects and with that visual information to be adjusting the animation keys.

 

0 Likes
Message 7 of 9

denisT.MaxDoctor
Advisor
Advisor

the idea is to be able to see the fast or slow changes of the objects and with that visual information to be adjusting the animation keys.

 

align and link (or constrain) the Point object with the Axis Tripod to the animated node and watch ... is it not beautiful enough? 

0 Likes
Message 8 of 9

denisT.MaxDoctor
Advisor
Advisor

If I had nothing to do, I would write a Scripted Manipulator that has a shape like a transform gizmo. But I've done it before, and I have other things to do. 

0 Likes
Message 9 of 9

dg3duy
Collaborator
Collaborator

Thanks for everything anyway, the light you shed on the matter is useful for me.

0 Likes