Launch doesn't effect ragdolled characters

Describe the bug:

If you try to call Launch on a ragdolled character, nothing happens.

How do you cause this bug?

  • Create a new game
  • Add a script to the player:
local BugScript = {}

-- Script properties are defined here
BugScript.Properties = {
	-- Example property
	--{name = "health", type = "number", tooltip = "Current health", default = 100},
}

--This function is called on the server when this entity is created
function BugScript:Init()
	self:GetEntity():SetAlive(false)
end

function BugScript:OnButtonPressed(btn)
	if btn == "primary" then 
		self:GetEntity():Launch(10000, 0, 0)
	end
end

return BugScript
  • Preview the game and press primary
  • Notice that nothing happens

Reproduction game: Crayta

Screenshots / video of bug: https://cdn.discordapp.com/attachments/953685654582222878/1024819976022007808/Crayta_2022-09-28_20-08-23.mp4

Which platform: PC / Stadia

Which input: Controller / keyboard + mouse

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: September 28 2022

Version number (found in Help tab in Settings): 0.g3.9.128732

Hi there @Cereal,

Thanks for your report. This has reproduced for us and I’ve put a bug report through for it.

1 Like