mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
rules
This commit is contained in:
parent
a9b4f8e83b
commit
e6efc04756
8494 changed files with 495610 additions and 0 deletions
62
.cursor/rules/roblox/reference/engine/classes/TrussPart.yaml
Normal file
62
.cursor/rules/roblox/reference/engine/classes/TrussPart.yaml
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
# This file is automatically generated. Please don't edit it manually.
|
||||
# To submit a bug report on the content, see
|
||||
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
||||
|
||||
name: TrussPart
|
||||
type: class
|
||||
memory_category: Instances
|
||||
summary: |
|
||||
Similar to a `Class.Part` but with a different visual
|
||||
`Class.TrussPart.Style|Style` and the important distinction that default
|
||||
characters are able to climb it.
|
||||
description: |
|
||||
A `TrussPart` is similar to a `Class.Part` but with a different visual
|
||||
`Class.TrussPart.Style|Style` and the important distinction that default
|
||||
characters are able to climb it.
|
||||
|
||||
This part type has significantly more restrictive size limitations than other
|
||||
parts; it must be `2*2*n` studs where `n` is a multiple of `2` with a maximum
|
||||
of `512`.
|
||||
|
||||
Additionally, this part type does not support styling through the addition of
|
||||
`Class.Decal|Decals` or `Class.Texture|Textures`. If you wish to create a
|
||||
textured and "climbable" `Class.BasePart` but also utilize the climbing
|
||||
behavior of `TrussPart`, consider setting the
|
||||
`Class.BasePart.Transparency|Transparency` of the `TrussPart` to `1` to make
|
||||
it invisible, set `Class.BasePart.CanCollide|CanCollide` on the
|
||||
`Class.BasePart` to `false`, and then align the climbable surface of the
|
||||
mesh/model with that of the `TrussPart`.
|
||||
code_samples: []
|
||||
inherits:
|
||||
- BasePart
|
||||
descendants: []
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
properties:
|
||||
- name: TrussPart.Style
|
||||
summary: |
|
||||
Sets what the truss looks like.
|
||||
description: |
|
||||
Sets what the truss looks like, from the following options:
|
||||
|
||||
- `Enum.Style.AlternatingSupports`
|
||||
- `Enum.Style.BridgeStyleSupports`
|
||||
- `Enum.Style.NoSupports`
|
||||
code_samples: []
|
||||
type: Style
|
||||
tags:
|
||||
- NotReplicated
|
||||
deprecation_message: ''
|
||||
security:
|
||||
read: None
|
||||
write: None
|
||||
thread_safety: ReadSafe
|
||||
category: Part
|
||||
serialization:
|
||||
can_load: true
|
||||
can_save: false
|
||||
capabilities:
|
||||
- Basic
|
||||
methods: []
|
||||
events: []
|
||||
callbacks: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue