Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by xinsq · Mar 23, 2012 at 08:02 PM · collision3dtext

3D Interactive Text

Hi-

I'm trying to create a game that lets you interact with 3D text. The idea is that all text in the game are objects that you can jump onto and push. When you press a button, the text changes fonts, size, and spacing. So far, I have not figured out a good way to do this besides create a lot of models in maya.

I have a few questions:

1- how do you change text with code? 2- can 3D text have thickness? 3- can text have collision detection?

Many thanks!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by You! · Mar 24, 2012 at 01:39 AM

The easiest method would be to have the text as Game Objects. All of my answers relate to using these Game Objects.

1 - You cannot directly change text with code. However, you can create copies of the letters in different fonts. When the player changes the "font," switch letters out with "Instantiate()" and "Destroy()."

Another option to changing "font" would be to have all of the text in all fonts pre-loaded into the scene. Changing the position of the text would switch the font without ever using "Instantiate()" or "Destroy()."

2 - Since the text is a 3D object, of course! Just make sure, when modeling the text, to give it the depth that you want. How to actually model the text, though, is something I do not know how to do...

3 - Yes! Just be sure you have an appropriate collider attached to your text objects. A mesh collider is the most accurate, but should not be used in this case, since the text will move. I would use a compound collider. Go here to get an idea of how to make one.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by crydde · Jun 22, 2016 at 04:03 PM

@xinsq

Have you tried VText? You can change the font type, the content of the text at runtime. alt text VText for Unity allows you to bend, extrude, change the quality of the meshes and even bend it at runtime. You can find VText in the AssetStore (https://www.assetstore.unity3d.com/en/#!/content/24768) . For more information have a look at the Website from Virtence (http://www.virtence.com/en/software/unity-packages/vtext/).


01.jpg (98.4 kB)
05.jpg (145.6 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to get a 3D Text to appear on collision of another object? 2 Answers

abit of a noobie question here 1 Answer

3D enemies keep sliding on the terrain 1 Answer

Getting Camera on mouse click of a 3d text 1 Answer

Sider Joint 2D in 3D 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges