Notifications
Clear all

[Closed] Possible to force controller to only have stepped tangents?

 am7

I’ve wired a button to the visibility of two meshes in order to be able to swap between the meshes.

On the meshes I’ve assigned a visibility track (bezier float) but I wan’t to be able to force the animation/keys on it to stay in stepped tangents. Is this possible to achieve by using maxscript?

3 Replies

assign the boolean_float controller

 am7

Thanks for the reply, I tried assigning a Boolean controller to the visibility track. However it gives me linear tangents when I key it.

Here’s my custom attribute that I’ve wired into the visibility track:


attributes visibleSwitch
(
	parameters paramsP rollout:paramsR
	(
		onOff type:#boolean UI:(onOffCb,onOffCb) animatable:true
	)
	rollout paramsR "Params"
	(
		checkBox onOffCb "Visible"
	)
)

 PEN

Why do you have the same UI item listed twice in the parameter definition?

You will probably have to loop through all the keys and set them as step if the boolean controller isn’t working for you.