-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path!!MEMBERTYPE_Methods_CScriptBind_Physics.html
More file actions
149 lines (139 loc) · 9.8 KB
/
!!MEMBERTYPE_Methods_CScriptBind_Physics.html
File metadata and controls
149 lines (139 loc) · 9.8 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CScriptBind_Physics Methods</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Doc-O-Matic" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="STYLESHEET" href="default.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoad();" onmousedown="onBodyMouseDown();">
<!-- Begin Popups -->
<!-- End Popups -->
<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element731">
<div class="Element730">
<a onclick="ToggleAllElements('5075626C6963204D6574686F6473,436C617373', 'linkToggleAllElements', 'imgToggleAllElements', 'Collapse All', 'Expand All');"><img src="btn_collapse_2.gif" border="0" alt="" title="" id="imgToggleAllElements" /></a><a id="linkToggleAllElements" onclick="ToggleAllElements('5075626C6963204D6574686F6473,436C617373', 'linkToggleAllElements', 'imgToggleAllElements', 'Collapse All', 'Expand All');">Collapse All</a></div>
</div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="33%">
<div class="Element1">
Warhorse ScripBind documentation</div>
</td><td width="34%">
<div class="Element2">
<a href="contents.html"><img src="btn_globals_contents_black.gif" border="0" alt="Contents" title="Contents" onmouseover="switchImage(this, 'btn_globals_contents_black_hover.gif');" onmouseout="switchImage(this, 'btn_globals_contents_black.gif');" /></a><a href="idx.html"><img src="btn_globals_index_black.gif" border="0" alt="Index" title="Index" onmouseover="switchImage(this, 'btn_globals_index_black_hover.gif');" onmouseout="switchImage(this, 'btn_globals_index_black.gif');" /></a><a href="index.html"><img src="btn_globals_home_black.gif" border="0" alt="Home" title="Home" onmouseover="switchImage(this, 'btn_globals_home_black_hover.gif');" onmouseout="switchImage(this, 'btn_globals_home_black.gif');" /></a></div>
</td><td width="33%">
<div class="Element90">
<a href="CScriptBind_Physics__CScriptBind_Physics@IScriptSystem__@ISystem__.html"><img src="btn_prev_black.gif" border="0" alt="Previous" title="Previous" onmouseover="switchImage(this, 'btn_prev_black_hover.gif');" onmouseout="switchImage(this, 'btn_prev_black.gif');" /></a><a href="CScriptBind_Physics.html"><img src="btn_up_black.gif" border="0" alt="Up" title="Up" onmouseover="switchImage(this, 'btn_up_black_hover.gif');" onmouseout="switchImage(this, 'btn_up_black.gif');" /></a><a href="CScriptBind_Physics__GetMemoryUsage@ICrySizer__@const.html"><img src="btn_next_black.gif" border="0" alt="Next" title="Next" onmouseover="switchImage(this, 'btn_next_black_hover.gif');" onmouseout="switchImage(this, 'btn_next_black.gif');" /></a></div>
</td></tr></table><div class="Element5">
CScriptBind_Physics Methods</div>
</div>
</div>
<!-- End Page Header -->
<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">
<!-- Begin Page Content -->
<div class="Element58">
<a name="53756D6D617279"></a><div class="Element11">
<div class="Element10">
<p class="Element10">
The methods of the CScriptBind_Physics class are listed here.</p></div>
</div>
<a name="436C617373"></a><div class="Element14">
<a onclick="toggleVisibilityStored('436C617373');" class="a_Element14"><img src="btn_collapse_2.gif" border="0" alt="" title="" id="img436C617373" />Class</a></div>
<div id="div436C617373">
<div class="Element11">
<div class="Element10">
<p class="Element10">
<a href="CScriptBind_Physics.html">Physics</a></p></div>
</div>
</div>
<a name="5075626C6963204D6574686F6473"></a><div class="Element14">
<a onclick="toggleVisibilityStored('5075626C6963204D6574686F6473');" class="a_Element14"><img src="btn_collapse_2.gif" border="0" alt="" title="" id="img5075626C6963204D6574686F6473" />Public Methods</a></div>
<div id="div5075626C6963204D6574686F6473">
<div class="Element11">
<div class="Element10">
<div class="Element212">
<div class="TableDiv">
<table cellspacing="0" class="Table1">
<tr>
<td class="Element200" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element201">
 </div></td><td class="Element200" valign="top" width="30%">
<div class="Element201">
Name </div></td><td class="Element204" valign="top" width="60%">
<div class="Element205">
Description </div></td></tr><tr>
<td class="Element202" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element203">
<img src="indicator_method.gif" border="0" alt="" title="" /><img src="indicator_virtual.gif" border="0" alt="" title="" /> </div></td><td class="Element202" valign="top" width="30%">
<div class="Element203">
<a href="CScriptBind_Physics__GetMemoryUsage@ICrySizer__@const.html">GetMemoryUsage</a> </div></td><td class="Element206" valign="top" width="60%">
<div class="Element207">
This is GetMemoryUsage, a member of class CScriptBind_Physics. </div></td></tr><tr>
<td class="Element202" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element203">
<img src="indicator_method.gif" border="0" alt="" title="" /> </div></td><td class="Element202" valign="top" width="30%">
<div class="Element203">
<a href="CScriptBind_Physics__RayTraceCheck@IFunctionHandler__@Vec3@Vec3@ScriptHandle@ScriptHandle.html">RayTraceCheck</a> </div></td><td class="Element206" valign="top" width="60%">
<div class="Element207">
Syntax: Physics.RayTraceCheck( Vec3 src,Vec3 dst,ScriptHandle skipEntityId1,ScriptHandle skipEntityId2 )<br />Check if ray segment from src to dst intersect anything. </div></td></tr><tr>
<td class="Element202" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element203">
<img src="indicator_method.gif" border="0" alt="" title="" /> </div></td><td class="Element202" valign="top" width="30%">
<div class="Element203">
<a href="CScriptBind_Physics__RayWorldIntersection@IFunctionHandler__.html">RayWorldIntersection</a> </div></td><td class="Element206" valign="top" width="60%">
<div class="Element207">
Syntax: Physics.RayWorldIntersection( Vec3 vPos,Vec3 vDir,int nMaxHits,int iEntTypes, [optional] skipEntityId1, [optional] skipEntityId2 )<br />Check if ray segment from src to dst intersect anything. </div></td></tr><tr>
<td class="Element202" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element203">
<img src="indicator_method.gif" border="0" alt="" title="" /> </div></td><td class="Element202" valign="top" width="30%">
<div class="Element203">
<a href="CScriptBind_Physics__RegisterExplosionCrack@IFunctionHandler__@char__@int.html">RegisterExplosionCrack</a> </div></td><td class="Element206" valign="top" width="60%">
<div class="Element207">
Syntax: Physics.RegisterExplosionCrack( const char *sGeometryFile,int nIdMaterial )<br />Register a new crack for breakable object. </div></td></tr><tr>
<td class="Element202" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element203">
<img src="indicator_method.gif" border="0" alt="" title="" /> </div></td><td class="Element202" valign="top" width="30%">
<div class="Element203">
<a href="CScriptBind_Physics__RegisterExplosionShape@IFunctionHandler__@char__@float@int@float@char__@float@char__.html">RegisterExplosionShape</a> </div></td><td class="Element206" valign="top" width="60%">
<div class="Element207">
Syntax: Physics.RegisterExplosionShape( const char *sGeometryFile,float fSize,int nIdMaterial,float fProbability )<br />Register a new explosion shape from the static geometry. Does not apply any game related explosion damages, this function only apply physical forces. </div></td></tr><tr>
<td class="Element202" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element203">
<img src="indicator_method.gif" border="0" alt="" title="" /> </div></td><td class="Element202" valign="top" width="30%">
<div class="Element203">
<a href="CScriptBind_Physics__SamplePhysEnvironment@IFunctionHandler__.html">SamplePhysEnvironment</a> </div></td><td class="Element206" valign="top" width="60%">
<div class="Element207">
Syntax: Physics.SamplePhysEnvironment( Vec3 pt, float r, int objtypes )<br />Find physical entities touched by a sphere </div></td></tr><tr>
<td class="Element202" valign="top" width="10%" style="white-space: nowrap;">
<div class="Element203">
<img src="indicator_method.gif" border="0" alt="" title="" /> </div></td><td class="Element202" valign="top" width="30%">
<div class="Element203">
<a href="CScriptBind_Physics__SimulateExplosion@IFunctionHandler__@SmartScriptTable.html">SimulateExplosion</a> </div></td><td class="Element206" valign="top" width="60%">
<div class="Element207">
Syntax: Physics.SimulateExplosion( Table explosionParams )<br />Simulate physical explosion. Does not apply any game related explosion damages, this function only apply physical forces. </div></td></tr></table></div></div>
</div>
</div>
</div>
</div>
<!-- End Page Content -->
<!-- Begin Page Footer -->
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="100%">
<div class="Element3">
Copyright (c) 2012. All rights reserved.</div>
</td></tr></table></div>
<!-- End Page Footer -->
<div class="Element950">
<p><a href="http://www.doc-o-matic.com" target="_blank">Made with Doc-O-Matic® Express</a></p><p><a href="http://www.doc-o-matic.com" target="_blank"><img src="doc-o-matic_button.gif" border="0" alt="Doc-O-Matic" title="Doc-O-Matic" /></a></p></div>
</div>
</div>
<!-- End Client Area -->
</body></html>