summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.Physics3DPointToPointConstraint.lua
blob: a891f04556fa4fa52f57712a240e6e557563ba56 (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
---@meta

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




---* get pivot point in A's local space
---@return vec3_table
function Physics3DPointToPointConstraint:getPivotPointInA () end
---* get pivot point in B's local space
---@return vec3_table
function Physics3DPointToPointConstraint:getPivotPointInB () end
---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody:cc.Physics3DRigidBody,vec3_table:vec3_table,vec3_table:vec3_table):self
---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody1:vec3_table):self
---@param rbA cc.Physics3DRigidBody
---@param rbB cc.Physics3DRigidBody
---@param pivotPointInA vec3_table
---@param pivotPointInB vec3_table
---@return boolean
function Physics3DPointToPointConstraint:init (rbA,rbB,pivotPointInA,pivotPointInB) end
---* set pivot point in A's local space
---@param pivotA vec3_table
---@return self
function Physics3DPointToPointConstraint:setPivotPointInA (pivotA) end
---* set pivot point in B's local space
---@param pivotB vec3_table
---@return self
function Physics3DPointToPointConstraint:setPivotPointInB (pivotB) end
---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody:cc.Physics3DRigidBody,vec3_table:vec3_table,vec3_table:vec3_table):self
---@overload fun(cc.Physics3DRigidBody:cc.Physics3DRigidBody,cc.Physics3DRigidBody1:vec3_table):self
---@param rbA cc.Physics3DRigidBody
---@param rbB cc.Physics3DRigidBody
---@param pivotPointInA vec3_table
---@param pivotPointInB vec3_table
---@return self
function Physics3DPointToPointConstraint:create (rbA,rbB,pivotPointInA,pivotPointInB) end
---* 
---@return self
function Physics3DPointToPointConstraint:Physics3DPointToPointConstraint () end