Feedback on "HapticService"

There is no link to the replacement Class.HapticEffect.

Cannot find a doc page for the new Class.HapticEffect

Affected URL: HapticService | Documentation - Roblox Creator Hub

Expect to find new docs at following page, but it does not exist: https://create.roblox.com/docs/reference/engine/classes/HapticEffect

4 Likes

Thank your for pointing this out.


It is interesting the whole service is deprecated. If you want more info regarding HapticEffect, check this page.

1 Like

Thank you. Is there an example of using the new HapticEffect class?

1 Like

I tested the following:

	local haptic  = Instance.new("HapticEffect")
	haptic.Looped = false
	haptic.Parent = game:GetService("Players").LocalPlayer
	haptic.Type   = Enum.HapticEffectType.GameplayExplosion

	haptic:Play()

However this produces the error HapticEffect is not yet available. See HapticService for the current haptics API.

It appears the feature is not yet implemented, and the pages in the docs do not exist.

Perhaps the deprecation warning on the HapticService Docs is premature?

1 Like

PR submitted to remove the deprecation notice: Clarify HapticEffect is not out on HapticService deprecation msg by dgxo · Pull Request #1023 · Roblox/creator-docs · GitHub

Edit: Now merged

1 Like

The class is still deprecated though? I don’t see the reason to remove the deprecation notice just because the intended replacement isnt yet implemented/documented.

Edit: Thank you for changing the pr to clarify that the replacement is pending, instead of removing the deprecation messaage.