WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 126 to 143 of 143
Search took 0.01 seconds; generated 95 minute(s) ago.
Search: Posts Made By: Johannes
Forum: Vizard 01-11-2005, 06:05 AM
Replies: 20
Views: 83,245
Posted By Johannes
Sorry that it did not post the program with the...

Sorry that it did not post the program with the Indentation. How can I do post it better next time?
Johannesi
Forum: Vizard 01-11-2005, 06:02 AM
Replies: 20
Views: 83,245
Posted By Johannes
Tried your example. Works, but it is only good...

Tried your example. Works, but it is only good for the case of one ball. Tried to change it (see below) to fit the more general purpose of more balls and objects:

I added after...
Forum: Vizard 01-10-2005, 05:09 PM
Replies: 20
Views: 83,245
Posted By Johannes
I will try this tomorrow morning, thank you very...

I will try this tomorrow morning, thank you very much (I'm already at home)!

I will also develop a graph to visualize the velocity vs. time...
Guess best would be to use the 'on-the-fly'...
Forum: Vizard 01-10-2005, 04:31 PM
Replies: 20
Views: 83,245
Posted By Johannes
If I should post the example I'm working on, just...

If I should post the example I'm working on, just tell me.
I guess I will have to do this as a zip file because of the ressource-files
Forum: Vizard 01-10-2005, 04:29 PM
Replies: 20
Views: 83,245
Posted By Johannes
>What kind of object is myroom? It is the...

>What kind of object is myroom?

It is the room from the getting-started tutorial.

>Are you getting any error messages?
No

>Is the ball actually intersecting with the room mesh when your...
Forum: Vizard 01-10-2005, 03:59 PM
Replies: 20
Views: 83,245
Posted By Johannes
A. The ball and the room are the only ones but...

A. The ball and the room are the only ones but soon there will be more objects then I will need it anyway.
So if my room is called myroom and my ball is called ball why does this not work?
This is...
Forum: Vizard 01-10-2005, 09:35 AM
Replies: 20
Views: 83,245
Posted By Johannes
Sorry for the break-question - found it just a...

Sorry for the break-question - found it just a minute after that (so I reEdited the question).

@collision:

1. How do I know that I have the possibility to call myroom.collidemesh()
(object -...
Forum: Vizard 01-10-2005, 07:40 AM
Replies: 20
Views: 83,245
Posted By Johannes
To check for collision I tried: ...

To check for collision I tried:

collidables=[]
myroom.collidemesh()
collidables.append(myroom)
ball.collidesphere(0.25)
collidables.append(ball)
Forum: Vizard 01-10-2005, 06:45 AM
Replies: 20
Views: 83,245
Posted By Johannes
Properties of Objects

Hi,
how can I find out, which properties objects posess?


I'm trying to built a collide-function for objects as you did in the duckcourt example.

There you used a object-function called...
Forum: Vizard 01-07-2005, 02:07 PM
Replies: 7
Views: 54,112
Posted By Johannes
I have the two points, now I want to make the...

I have the two points, now I want to make the ball move between these two points.

vectorToPoint (even if the name sounds different) should return a vector (Help: This command will return a...
Forum: Vizard 01-07-2005, 12:51 PM
Replies: 7
Views: 54,112
Posted By Johannes
you wrote: >If you simply wanted to draw the...

you wrote:
>If you simply wanted to draw the lines on the screen then you wouldn't need the 3d coordinates


no, I don't want to simply draw lines on the screen - i want to generate a vector for...
Forum: Vizard 01-07-2005, 12:49 PM
Replies: 7
Views: 54,112
Posted By Johannes
Thank you, I understand this now better! ...

Thank you, I understand this now better!
Johannes
Forum: Vizard 01-07-2005, 12:35 PM
Replies: 7
Views: 54,112
Posted By Johannes
dear farshizzo, You wrote: >The...

dear farshizzo,

You wrote:
>The viz.screentoworld command >returns a 3d vector in world >coordinates that points into the >screen from the given 2d screen >coordinates.

I still don't...
Forum: Vizard 01-07-2005, 11:55 AM
Replies: 7
Views: 54,112
Posted By Johannes
Draw Line between Points selected by mouse

Hi,
the following program should draw a line between two in the "world" selected by mouse.

As viz.screentoworld(viz.mousepos()) returns a vector - is there an easier way to figure out the point...
Forum: Vizard 01-07-2005, 11:47 AM
Replies: 8
Views: 36,859
Posted By Johannes
Thank you, this works!

Thank you, this works!
Forum: Vizard 01-06-2005, 01:34 PM
Replies: 8
Views: 36,859
Posted By Johannes
Found it, the error was at the line ...

Found it, the error was at the line
y=y0+i*0,03
(Accidently a comma slipt in)


Short question to hierarchical Objects - guess (as I tried) this is not possible:

Say I want an object to...
Forum: Vizard 01-06-2005, 12:50 PM
Replies: 8
Views: 36,859
Posted By Johannes
Thank you for answering so fast! But I still...

Thank you for answering so fast!

But I still get an error for the sleep-command:

Traceback (most recent call last):
File "basic_test1.py", line 41, in moveIt2
time.sleep(0.1)...
Forum: Vizard 01-06-2005, 11:00 AM
Replies: 8
Views: 36,859
Posted By Johannes
Move Objects

Hi,
I'm trying to move a ball through a room.
I know that there are certain built in functions to move it, but as I want to be very flexible I want / have to write my own movement-function.

def...
Showing results 126 to 143 of 143

 
Forum Jump

All times are GMT -7. The time now is 12:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC