LocalSimulationTouched (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer New page: <onlyinclude> {{Event| name = LocalSimulationTouched |arguments = Instance ''otherPart'' |description = Fired when another part comes in contact with this object |object = [[RBX.lua.Fl... |
>JulienDethurens No edit summary |
||
(20 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> | {{Deprecated}} | ||
{{Event| | |||
name = LocalSimulationTouched | <onlyinclude>{{Event|name = LocalSimulationTouched | ||
|arguments = [[Instance]] '' | |arguments = [[Instance]] ''part'' | ||
|description = Fired when another part comes in contact with | |description = Fired when another part comes in contact with another object. This event only sends data to the '''client''' notifying it that two parts have collided, whereas [[Touched]] sends data to the server. | ||
|object = | |object = BasePart}}</onlyinclude> | ||
{{clear floats}} | |||
{{Example|{{code|= | |||
Workspace.Part.LocalSimulationTouched:connect(function(p) | |||
print(p) | |||
end) | |||
}}}} |
Latest revision as of 20:44, 7 April 2012
Deprecated:This item is deprecated. Do not use it for new work.
![]() | |
Description | Fired when another part comes in contact with another object. This event only sends data to the client notifying it that two parts have collided, whereas Touched sends data to the server. |
---|---|
Member of: | BasePart |
Example
Workspace.Part.LocalSimulationTouched:connect(function(p)
print(p)
end)