📄 sphere.rsg
字号:
; -*- mode: lisp; -*-(RSG 0 1)( (templ $radius $totalMass $material) (nd Sphere (setRadius $radius) (setMaterial $material) ) (nd Body (setName sphereBody) ;(setSphereTotal $totalMass $radius) (setSphere $totalMass $radius) (nd DragController (setAngularDrag 0.01) (setLinearDrag 0.01) )) (nd SphereCollider (setRadius $radius) (nd ContactJointHandler (setContactBounceMode false) (setContactSlipMode true) (setContactSlip 0.1 0.1) (setContactSoftERPMode true) (setContactSoftERP 0.2) (setContactSoftCFM true) (setContactSoftCFM 0.01) ) ) )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -