没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Mechanical Simulation Technical Memo
755 Phoenix Drive, Ann Arbor MI, 48108, USA
Phone: 734 668-2930 • Fax: 734 668-2877 • Email: info@carsim.com carsim.com
1 / 17 Updated: August 9, 2018
Unreal Engine CarSim Plugin Tutorial
Before You Start ..................................................................................................... 1
How to Setup the CarSim Plugin............................................................................ 1
How to Attach Objects to the Simulation ............................................................... 3
Loading an Example Project .................................................................................. 5
Creating a Vehicle Model in CarSim ..................................................................... 8
Changing CarSim Vehicle Parameters ................................................................. 11
Selecting a Vehicle with a different type of Suspension ...................................... 13
Input and Configuration Settings of the Unreal CarSim Plugin ........................... 14
Changing the Coefficient of Road Friction .......................................................... 16
The Unreal Engine is a powerful gaming engine which has the capacity to provide high-quality
graphics when used as a plugin. The Mechanical Simulation Unreal Engine CarSim plugin allows
users to create these high-quality graphics and overlay them on CarSim simulations. The plugin
will feed terrain data, including surface friction, from the Unreal Engine to the CarSim math
model. It will also provide the math model data to the simulation using code or blueprints.
Standard CarSim output files are generated so that you can view all of the selected variable
outputs in the CarSim plotter after a run. This tutorial assumes you have little or no experience
with the Unreal Engine, but would like to use the plugin for your vehicle simulations.
Before You Start
Before starting, there are a few requirements.
1. CarSim 2018.0 or later must be installed on your computer.
2. You must have a valid CarSim license. Ensure that either the main CarSim program or
the VLSM license utility is running with the CarSim Solver license feature enabled.
3. Create an Epic Games account to download the Unreal Engine.
4. Unreal Engine version 4.20 or later must be installed from www.unrealengine.com.
How to Setup the CarSim Plugin
Once you’ve downloaded and installed the Unreal Engine, open the Epic Game Launcher to
access the application. Go to Marketplace, and search for “CarSim” to find the plugin (Figure 1).
Click Install to Engine , then click the Launch button
to access the project browser.
2 / 17
Figure 1. CarSim plugin installation.
In the browser (Figure 2), go to the tab labeled New Project , and from there, navigate to the
Blueprint tab (you can create a C++ project if you prefer). Select Vehicle from the list of
options , then click the Create Project button in the lower right corner .
Figure 2. Unreal project browser.
3 / 17
Note The CarSim plugin must first be enabled through the Unreal browser
before you have access to it. If you are not prompted by the engine to do
so, you can navigate from the Unreal browser to Edit > Plugins, where
you should click the Enable checkbox (Figure 3). You will then be
prompted to restart Unreal; please follow the prompt and restart.
Figure 3. Plugin Browser Screen.
This creates a new project using the Blueprint Vehicle Template Project. Once you’ve created
the project, navigate to the left side of the screen under Modes (Figure 4) and search for
CarSim . An item named CarsimPawn will show up under the search bar. You have now
located the proper plugin component we will be using with the Unreal Plugin.
Figure 4. Finding the CarSim Pawn.
How to Attach Objects to the Simulation
In the following steps, we will add a body object to the project, attach a body mesh to it, and
finally adjust the offset coordinates such that the overlay matches the origin of the CarSim
coordinate system.
4 / 17
1. Drag the CarSimPawn to the Unreal Viewport
(Figure 5). We have now located the
correct class object to use with the plugin, and have dragged it into the window from the
menu.
Figure 5. Navigating the Unreal GUI.
Note The vehicle will not have any body geometry attached initially. It will
appear as an xyz origin with cameras, as shown above.
2. Toward the top right side of the Unreal Editor screen is a menu box called the World
Outliner . Locate the CarSimPawn and highlight by left-clicking once.
3. At the lower part of the screen is the project space. Navigate to the example vehicle body
in the content browser Content > Vehicle > Sedan
and drag Sedan_SkelMesh
to
the Details menu, dropping the mesh onto BodyShapeOffset . It will prompt you for a
name, just press enter to save as Sedan_SkelMesh.
4. This will attach the body mesh to the CarSimPawn object.
5. Navigate to the Sedan_SkelMesh details (Figure 6). Here, you will find physics and
collision elements to manage. Scroll down until you find the Collision Presets, and use
the drop-down menu to change collision preset to Vehicle on the body mesh.
剩余16页未读,继续阅读
资源评论
weixin_42007179
- 粉丝: 2
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 最入门的爬虫代码 python.docx
- 爬虫零基础入门-爬取天气预报.pdf
- 最通俗易懂的 MongoDB 非结构化文档存储数据库教程.zip
- 以mongodb为数据库的订单物流小项目.zip
- 腾讯云-mongodb数据库, 项目部署.zip
- 腾讯 APIJSON 的 MongoDB 数据库插件.zip
- 理解非关系型数据库和关系型数据库的区别.zip
- 操作简单的Mongodb网页web管理工具,基于Spring Boot2.0支持mongodb集群.zip
- tms-mongodb-web,提供访问mongodb数据的REST API和可灵活扩展的mongodb web 客户端.zip
- SpringBoot整合mongodb学习MongoTemplate和MongoRepository两种方式CRUD使用.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功