stom_dev
(stom_dev)
February 11, 2025, 7:03pm
#1
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
stom_dev
(stom_dev)
February 11, 2025, 11:00pm
#3
Thank you. Is there an example of using the new HapticEffect class?
1 Like
stom_dev
(stom_dev)
February 12, 2025, 12:12am
#4
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
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.