LocalSimulationTouched (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Fixed
>JulienDethurens
No edit summary
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|
{{Deprecated}}
|<onlyinclude>{{Event|name = LocalSimulationTouched
 
<onlyinclude>{{Event|name = LocalSimulationTouched
|arguments = [[Instance]] ''part''
|arguments = [[Instance]] ''part''
|description = Fired when another part comes in contact with another object.
|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 = [[BasePart]]
|object = BasePart}}</onlyinclude>
|}}</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.
LocalSimulationTouched ( Instance part )
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)