Thursday, July 7, 2022
HomeGame DevelopmentRoast me, however... I obtained issues with my terrain - Cocos Creator

Roast me, however… I obtained issues with my terrain – Cocos Creator


Howdy everybody!

I’m new and self educated. I’m making an attempt to make a tray to drop from the sky over the bottom.

The issue is that it goes past the bottom (terrain) and goes although it with out stopping.

I’ve set RigidBody and PlaneCollider for each the terrain and the tray

How can I make it cease on the bottom? and the way can I alter the pores and skin of the terrain? I’ve tried inserting any type of png/textures and can’t change the chess-like format.

Thanks!


you want use TerrainCollider.

Hey, Koei! Thanks for the reply!

I took your recipy and added Terrain Collider to the terrain

the tray nonetheless has its airplane collider and inflexible physique in place

however now will probably be nonetheless and never fall into the bottom

observe that I already turned on the Use Gravity function

ought to I add every other element?

Sorry, I don’t know what you wish to do subsequent.

simply to make the tray drop all the way down to the ground

Perhaps you want BoxCollider as an alternative of PlaneCollider

You must check out a tutorial I wrote for a primary particular person digicam. It explains easy methods to set the physics.

Additionally, should you want to use your personal mannequin and never the terrain. Use mesh collider as an alternative of terrain collider. It’s a must to choose the mesh within the listing which might be named the identical because the mannequin in blender, which is perhaps dice should you didn’t rename it.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments