152 lines
10 KiB
HTML
152 lines
10 KiB
HTML
<!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>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>PxVehicleWheelsSimFlag Struct Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(initResizable);
|
|
/* @license-end */</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('structPxVehicleWheelsSimFlag.html','');});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="structPxVehicleWheelsSimFlag-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">PxVehicleWheelsSimFlag Struct Reference<div class="ingroups"><a class="el" href="group__vehicle.html">Vehicle</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Flags to configure the vehicle wheel simulation.
|
|
<a href="structPxVehicleWheelsSimFlag.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="PxVehicleWheels_8h_source.html">PxVehicleWheels.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:ae22cac8835a33a55a7bddc2223638d60"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxVehicleWheelsSimFlag.html#ae22cac8835a33a55a7bddc2223638d60">Enum</a> { <a class="el" href="structPxVehicleWheelsSimFlag.html#ae22cac8835a33a55a7bddc2223638d60a75d4ea0ed70a2383d36939a947f50849">eLIMIT_SUSPENSION_EXPANSION_VELOCITY</a> = (1 << 0),
|
|
<a class="el" href="structPxVehicleWheelsSimFlag.html#ae22cac8835a33a55a7bddc2223638d60adb3a0112f6926f83168d2a2e42b4337f">eDISABLE_INTERNAL_CYLINDER_PLANE_INTERSECTION_TEST</a> = (1 << 1),
|
|
<a class="el" href="structPxVehicleWheelsSimFlag.html#ae22cac8835a33a55a7bddc2223638d60a3a002582b154a7057c01474da357d015">eDISABLE_SUSPENSION_FORCE_PROJECTION</a> = (1 << 2)
|
|
}</td></tr>
|
|
<tr class="separator:ae22cac8835a33a55a7bddc2223638d60"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Flags to configure the vehicle wheel simulation. </p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxVehicleWheelsSimData.html#a3720f1b1894f707381a5a54e61996d7d" title="Set the vehicle wheel simulation flags. ">PxVehicleWheelsSimData::setFlags()</a>, <a class="el" href="classPxVehicleWheelsSimData.html#a52131b5c5288c9eeea1d3c647d4c079f" title="Return the vehicle wheel simulation flags. ">PxVehicleWheelsSimData::getFlags()</a> </dd></dl>
|
|
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
|
|
<a id="ae22cac8835a33a55a7bddc2223638d60"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae22cac8835a33a55a7bddc2223638d60">◆ </a></span>Enum</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="structPxVehicleWheelsSimFlag.html#ae22cac8835a33a55a7bddc2223638d60">PxVehicleWheelsSimFlag::Enum</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ae22cac8835a33a55a7bddc2223638d60a75d4ea0ed70a2383d36939a947f50849"></a>eLIMIT_SUSPENSION_EXPANSION_VELOCITY </td><td class="fielddoc"><p>Limit the suspension expansion velocity. </p>
|
|
<p>For extreme damping ratios, large damping forces might result in the vehicle sticking to the ground where one would rather expect to see the vehicle lift off. While it is highly recommended to use somewhat realistic damping ratios, this flag can be used to limit the velocity of the suspension. In more detail, the simulation will check whether the suspension can extend to the target length in the given simulation time step. If that is the case, the suspension force will be computed as usual, else the force will be set to zero. Enabling this feature gives a slightly more realisitic behavior at the potential cost of more easily losing control when steering the vehicle. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ae22cac8835a33a55a7bddc2223638d60adb3a0112f6926f83168d2a2e42b4337f"></a>eDISABLE_INTERNAL_CYLINDER_PLANE_INTERSECTION_TEST </td><td class="fielddoc"><p>Disable internal cylinder-plane intersection test. </p>
|
|
<p>By default the internal code runs a post-process on sweep results, approximating the wheel shape with a cylinder and tweaking the sweep hit results accordingly. This can produce artefacts in certain cases, in particular when the swept shape is very different from a cylinder - e.g. with swept spheres. This flag tells the system to disable this internal test, and reuse the direct user-provided sweep results.</p>
|
|
<p>The default code refines the sweep results in each substep. Enabling this flag makes the system partially reuse the same sweep results over each substep, which could potentially create other artefacts. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="ae22cac8835a33a55a7bddc2223638d60a3a002582b154a7057c01474da357d015"></a>eDISABLE_SUSPENSION_FORCE_PROJECTION </td><td class="fielddoc"><p>Disable suspension force projection. </p>
|
|
<p>By default the internal code modulates the suspension force with the contact normal, i.e. the more the contact normal is aligned with the suspension direction, the bigger the force. This can create issues when using a single blocking hit, whose unique contact normal sometimes does not accurately capture the reality of the surrounding geometry. For example it can weaken the suspension force too much, which visually makes the wheel move up and down against e.g. a kerb. Enabling this flag tells the system to disable the modulation of the suspension force by the contact normal.</p>
|
|
<p>The rationale is that a real tire has a deformed contact patch containing multiple normals, and even if some of these normals are bent when colliding against a kerb, there would still be a large area of the contact patch touching the ground, and getting normals aligned with the suspension. This is difficult to capture with simple sweep results, especially with a single sweep hit whose normal is computed by a less than accurate algorithm like GJK. Using this flag shortcuts these issues, which can improves the behavior when driving over kerbs or small obstacles. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li><a class="el" href="PxVehicleWheels_8h_source.html">PxVehicleWheels.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- HTML footer for doxygen 1.8.14-->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="structPxVehicleWheelsSimFlag.html">PxVehicleWheelsSimFlag</a></li>
|
|
<li class="footer">Copyright © 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|