登录
首页 » Android » Box 2d 汽车- 第一部分

Box 2d 汽车- 第一部分

于 2023-02-04 发布 文件大小:440.40 kB
0 197
下载积分: 2 下载次数: 1

代码说明:

翻译 maninwest@Codeforge作者:PavolSatala@CodeProject这里介绍如何创建一个汽车游戏。此游戏的原理很流行且在很多游戏中有应用。使用 box2d 物理引擎创建真实物理行为。最终代码可以在你自己的游戏中实现。代码是使用于跨平台开发( 称作 Moscrif)的面向对象的 JavaScript 写的,但是 box2d 可以移植到很多其他编程语言,它们的使用很相似。你可以在 Youtube 上找到这个项目的相关视频。Box2d 引擎使用box2d 物理引擎来进行真实的物理模拟。它可在很多设备上,如 Nintendo Wii, DS 和多种手机上(包括Android 和 iPhone) 以及大多数操作系统上使用。.Box2d 关节所有物理元素都创建为 box2d 刚体。它们过关节连接,可在 box2d 世界中交互。 支持的关节类型有多种:距离,摩擦力、齿轮、鼠标、棱柱、旋转、焊接等。关节将两个刚体连接到一起,可进行某种运动。在这里我们使用棱柱、旋转和鼠标关节。棱柱关节允许两个刚体”沿特定轴相对转化。棱柱关节阻止了刚体间的相对旋转。旋转关节允许两个刚体绕着锚定点旋转。鼠标关节仅用于连接轮子和底盘,不让这些刚体直接接触。图像:棱柱和旋转关节 有时不需要让关节在范围内完全运动,这时可以使用关节限制来限制关节的运动。关节也可以应用马达,马达会根据关节的自由水平,驱动相连刚体的运动。汽车汽车包含 5 个刚体,底盘、轮子、 减震器 (悬架)。所有刚体都是部分动态的,这意味着

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • AhHuiUniversity
    随着经济与科技的快速发展,智能手机一步步进入普通人得生活,它将成为人们获取信息的主要设备,因此基于Android手机的手机地图服务需求越开越迫切,为外出旅游的人们提供了极大地便利。Android是Google开发的基于Linux平台的开源手机操作系统。它包括操作系统、中间件、用户界面和应用程序,是为移动终端打造的真正开放和完整的移动软件。本文对目前应用的Symbian、WindowsMoblie、Mac OS X和Android平台的现状进行了分析与比较,主要阐述以面向对象程序开发语言JAVA,以eclipse为开发工具,基于智能手机Android之上设计一个导览系统。本文主要介绍安徽大学,界面友好 、操作便捷,具有良好的可扩展性和可维护性,系统经过测试,可以稳定运行,能够满足手机用户基本的地图服务需求。(With the rapid development of economy and technology,Smartphone enters into the lives of ordinary people step by step,it will become the main device to obtain information,Therefore,based on the Android mobile phone mobile map service needs become more and more urgent for people who travel offers great convenience.Android is the Google development opens the source handset operating system based on Linux platform. It includes the operating system,the Middleware,he user interface and the application procedure. It is for the mobile terminal to create a truly open and complete mobile software. In this thesis,there is a analysis and comparion about the status of the current applide platforms like Symbiam ,WindowsMoblie,Mac OS X and Android ,this thesis Mainly expounds the development of object-oriented programming language java, eclipse as a development tool, to design a navigation system-based smartphone on Android. This paper mainly introduces the anhui university,user-friendly,easy to)
    2013-10-30 13:56:55下载
    积分:1
  • android 自定义的seekbar
    实现android的 seekbar的分段序列,能自动设置段落数,实现在多选的情况下舍弃RadioButton,自定义选项的作用
    2022-04-30 02:24:05下载
    积分:1
  • snqualifiedvowel
    说明:  该程序中包括为一个CDMA和OFDM的信道分配仿真程序,(This program includes a channel assignment emulator for CDMA and OFDM.)
    2019-03-28 13:55:03下载
    积分:1
  • vomc
    使用matlab软件里面的simulink仿真OFDM系统(simulation of the ofdm system using the simulink in the matlab software)
    2019-03-27 15:08:09下载
    积分:1
  • link
    说明:  android手机系统的游戏连连看,游戏的基本功能已经实现(the game of the android system picture matching )
    2011-04-02 00:01:50下载
    积分:1
  • Map
    学习Android的map开发,有利于初学者对Android的程序代码有一个比较清晰的理解(Android s development learning map, help beginners on Android s code to have a clearer understanding of)
    2010-05-12 12:16:14下载
    积分:1
  • Android 录音软件开源项目
    简洁的录音软件app
    2022-07-07 16:27:29下载
    积分:1
  • MusicPlayer音乐播放器
    说明:  手机音乐播放器是一种在手机上用于播放各种音乐文件的多媒体播放软件。它涵盖了各种音乐格式的播放工具,比如:手机自带播放器、MP3播放器,WMA播放器,MP4播放器等,目前手机音乐播放器主要支持的格式有MP3、WMA、AAC、AAC+、MID、AMR、OGG、MP4、FLAC等,它们在手机中运行,不仅界面美观,而且操作简单,带你进入一个完美的音乐空间。(A mobile music player is a multimedia playing software for playing various music files on a mobile phone. It covers a variety of music format playback tools, such as: mobile phone player, MP3 player, WMA player, MP4 player, etc. Currently mobile phone music player mainly supports MP3, WMA, AAC, AAC+, MID, AMR, OGG, MP4, FLAC, etc., they run in the mobile phone, not only the interface is beautiful, but also easy to operate, bringing you into a perfect music space.)
    2020-06-18 13:20:01下载
    积分:1
  • Android应用源码之Android电子麦克风.zip
    【实例简介】
    2021-09-07 00:31:14下载
    积分:1
  • android 音乐播放器
    很好的代码。 欢迎下载。定能帮助你很快的学以只用,拿来练手。简单而健全。
    2022-02-10 05:49:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载