summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.Physics3D6DofConstraint.lua
blob: 7101db2d4c9355d9471955a7616d01c6a51180c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---@meta

---@class cc.Physics3D6DofConstraint :cc.Physics3DConstraint
local Physics3D6DofConstraint={ }
cc.Physics3D6DofConstraint=Physics3D6DofConstraint




---* set linear lower limit
---@param linearLower vec3_table
---@return self
function Physics3D6DofConstraint:setLinearLowerLimit (linearLower) end
---* get linear lower limit
---@return vec3_table
function Physics3D6DofConstraint:getLinearLowerLimit () end
---* get angular upper limit
---@return vec3_table
function Physics3D6DofConstraint:getAngularUpperLimit () end
---*  access for UseFrameOffset
---@return boolean
function Physics3D6DofConstraint:getUseFrameOffset () end
---* get linear upper limit
---@return vec3_table
function Physics3D6DofConstraint:getLinearUpperLimit () end
---* set angular lower limit
---@param angularLower vec3_table
---@return self
function Physics3D6DofConstraint:setAngularLowerLimit (angularLower) end
---* is limited?<br>
---* param limitIndex first 3 are linear, next 3 are angular
---@param limitIndex int
---@return boolean
function Physics3D6DofConstraint:isLimited (limitIndex) end
---* set use frame offset
---@param frameOffsetOnOff boolean
---@return self
function Physics3D6DofConstraint:setUseFrameOffset (frameOffsetOnOff) end
---* set linear upper limit
---@param linearUpper vec3_table
---@return self
function Physics3D6DofConstraint:setLinearUpperLimit (linearUpper) end
---* get angular lower limit
---@return vec3_table
function Physics3D6DofConstraint:getAngularLowerLimit () end
---* set angular upper limit
---@param angularUpper vec3_table
---@return self
function Physics3D6DofConstraint:setAngularUpperLimit (angularUpper) end
---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody1:mat4_table,mat4_table2:boolean):self
---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody:cc.Physics3DRigidBody,mat4_table:mat4_table,mat4_table:mat4_table,boolean:boolean):self
---@param rbA cc.Physics3DRigidBody
---@param rbB cc.Physics3DRigidBody
---@param frameInA mat4_table
---@param frameInB mat4_table
---@param useLinearReferenceFrameA boolean
---@return self
function Physics3D6DofConstraint:create (rbA,rbB,frameInA,frameInB,useLinearReferenceFrameA) end
---* 
---@return self
function Physics3D6DofConstraint:Physics3D6DofConstraint () end